1. Packages
  2. Azure Native v1
  3. API Docs
  4. datamigration
  5. getService
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.datamigration.getService

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

The services resource is the top-level resource that represents the Database Migration Service. The GET method retrieves information about a service instance. API Version: 2018-04-19.

Using getService

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
Copy
def get_service(group_name: Optional[str] = None,
                service_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(group_name: Optional[pulumi.Input[str]] = None,
                service_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
Copy
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
Copy

> Note: This function is named LookupService in the Go SDK.

public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:datamigration:getService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the service
GroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group
ServiceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the service
groupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group
serviceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the service
groupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group
serviceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the service
group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group
service_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the service
groupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group
serviceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the service

getService Result

The following output properties are available:

Id string
Resource ID.
Location string
Resource location.
Name string
Resource name.
ProvisioningState string
The resource's provisioning state
Type string
Resource type.
VirtualSubnetId string
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
Etag string
HTTP strong entity tag value. Ignored if submitted
Kind string
The resource kind. Only 'vm' (the default) is supported.
PublicKey string
The public key of the service, used to encrypt secrets sent to the service
Sku Pulumi.AzureNative.DataMigration.Outputs.ServiceSkuResponse
Service SKU
Tags Dictionary<string, string>
Resource tags.
Id string
Resource ID.
Location string
Resource location.
Name string
Resource name.
ProvisioningState string
The resource's provisioning state
Type string
Resource type.
VirtualSubnetId string
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
Etag string
HTTP strong entity tag value. Ignored if submitted
Kind string
The resource kind. Only 'vm' (the default) is supported.
PublicKey string
The public key of the service, used to encrypt secrets sent to the service
Sku ServiceSkuResponse
Service SKU
Tags map[string]string
Resource tags.
id String
Resource ID.
location String
Resource location.
name String
Resource name.
provisioningState String
The resource's provisioning state
type String
Resource type.
virtualSubnetId String
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
etag String
HTTP strong entity tag value. Ignored if submitted
kind String
The resource kind. Only 'vm' (the default) is supported.
publicKey String
The public key of the service, used to encrypt secrets sent to the service
sku ServiceSkuResponse
Service SKU
tags Map<String,String>
Resource tags.
id string
Resource ID.
location string
Resource location.
name string
Resource name.
provisioningState string
The resource's provisioning state
type string
Resource type.
virtualSubnetId string
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
etag string
HTTP strong entity tag value. Ignored if submitted
kind string
The resource kind. Only 'vm' (the default) is supported.
publicKey string
The public key of the service, used to encrypt secrets sent to the service
sku ServiceSkuResponse
Service SKU
tags {[key: string]: string}
Resource tags.
id str
Resource ID.
location str
Resource location.
name str
Resource name.
provisioning_state str
The resource's provisioning state
type str
Resource type.
virtual_subnet_id str
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
etag str
HTTP strong entity tag value. Ignored if submitted
kind str
The resource kind. Only 'vm' (the default) is supported.
public_key str
The public key of the service, used to encrypt secrets sent to the service
sku ServiceSkuResponse
Service SKU
tags Mapping[str, str]
Resource tags.
id String
Resource ID.
location String
Resource location.
name String
Resource name.
provisioningState String
The resource's provisioning state
type String
Resource type.
virtualSubnetId String
The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
etag String
HTTP strong entity tag value. Ignored if submitted
kind String
The resource kind. Only 'vm' (the default) is supported.
publicKey String
The public key of the service, used to encrypt secrets sent to the service
sku Property Map
Service SKU
tags Map<String>
Resource tags.

Supporting Types

ServiceSkuResponse

Capacity int
The capacity of the SKU, if it supports scaling
Family string
The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
Name string
The unique name of the SKU, such as 'P3'
Size string
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
Tier string
The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'
Capacity int
The capacity of the SKU, if it supports scaling
Family string
The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
Name string
The unique name of the SKU, such as 'P3'
Size string
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
Tier string
The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'
capacity Integer
The capacity of the SKU, if it supports scaling
family String
The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
name String
The unique name of the SKU, such as 'P3'
size String
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
tier String
The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'
capacity number
The capacity of the SKU, if it supports scaling
family string
The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
name string
The unique name of the SKU, such as 'P3'
size string
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
tier string
The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'
capacity int
The capacity of the SKU, if it supports scaling
family str
The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
name str
The unique name of the SKU, such as 'P3'
size str
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
tier str
The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'
capacity Number
The capacity of the SKU, if it supports scaling
family String
The SKU family, used when the service has multiple performance classes within a tier, such as 'A', 'D', etc. for virtual machines
name String
The unique name of the SKU, such as 'P3'
size String
The size of the SKU, used when the name alone does not denote a service size or when a SKU has multiple performance classes within a family, e.g. 'A1' for virtual machines
tier String
The tier of the SKU, such as 'Free', 'Basic', 'Standard', or 'Premium'

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi