azure-native.datamigration.getService
Explore with Pulumi AI
The services resource is the top-level resource that represents the Azure Database Migration Service (classic). The GET method retrieves information about a service instance.
Uses Azure REST API version 2023-07-15-preview.
Other available API versions: 2021-06-30, 2021-10-30-preview, 2022-01-30-preview, 2022-03-30-preview, 2025-03-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native datamigration [ApiVersion]
. See the version guide for details.
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>
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]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput
> 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)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:datamigration:getService
arguments:
# arguments dictionary
The following arguments are supported:
- Group
Name string - Name of the resource group
- Service
Name string - Name of the service
- Group
Name string - Name of the resource group
- Service
Name string - Name of the service
- group
Name String - Name of the resource group
- service
Name String - Name of the service
- group
Name string - Name of the resource group
- service
Name string - Name of the service
- group_
name str - Name of the resource group
- service_
name str - Name of the service
- group
Name String - Name of the resource group
- service
Name String - Name of the service
getService Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Name string
- Provisioning
State string - The resource's provisioning state
- System
Data Pulumi.Azure Native. Data Migration. Outputs. System Data Response - Type string
- Auto
Stop stringDelay - The time delay before the service is auto-stopped when idle.
- Delete
Resources boolOn Stop - Whether service resources should be deleted when stopped. (Turned on by default)
- Etag string
- HTTP strong entity tag value. Ignored if submitted
- Kind string
- The resource kind. Only 'vm' (the default) is supported.
- Location string
- Public
Key string - The public key of the service, used to encrypt secrets sent to the service
- Sku
Pulumi.
Azure Native. Data Migration. Outputs. Service Sku Response - Service SKU
- Dictionary<string, string>
- Virtual
Nic stringId - The ID of the Microsoft.Network/networkInterfaces resource which the service have
- Virtual
Subnet stringId - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Name string
- Provisioning
State string - The resource's provisioning state
- System
Data SystemData Response - Type string
- Auto
Stop stringDelay - The time delay before the service is auto-stopped when idle.
- Delete
Resources boolOn Stop - Whether service resources should be deleted when stopped. (Turned on by default)
- Etag string
- HTTP strong entity tag value. Ignored if submitted
- Kind string
- The resource kind. Only 'vm' (the default) is supported.
- Location string
- Public
Key string - The public key of the service, used to encrypt secrets sent to the service
- Sku
Service
Sku Response - Service SKU
- map[string]string
- Virtual
Nic stringId - The ID of the Microsoft.Network/networkInterfaces resource which the service have
- Virtual
Subnet stringId - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- name String
- provisioning
State String - The resource's provisioning state
- system
Data SystemData Response - type String
- auto
Stop StringDelay - The time delay before the service is auto-stopped when idle.
- delete
Resources BooleanOn Stop - Whether service resources should be deleted when stopped. (Turned on by default)
- etag String
- HTTP strong entity tag value. Ignored if submitted
- kind String
- The resource kind. Only 'vm' (the default) is supported.
- location String
- public
Key String - The public key of the service, used to encrypt secrets sent to the service
- sku
Service
Sku Response - Service SKU
- Map<String,String>
- virtual
Nic StringId - The ID of the Microsoft.Network/networkInterfaces resource which the service have
- virtual
Subnet StringId - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- name string
- provisioning
State string - The resource's provisioning state
- system
Data SystemData Response - type string
- auto
Stop stringDelay - The time delay before the service is auto-stopped when idle.
- delete
Resources booleanOn Stop - Whether service resources should be deleted when stopped. (Turned on by default)
- etag string
- HTTP strong entity tag value. Ignored if submitted
- kind string
- The resource kind. Only 'vm' (the default) is supported.
- location string
- public
Key string - The public key of the service, used to encrypt secrets sent to the service
- sku
Service
Sku Response - Service SKU
- {[key: string]: string}
- virtual
Nic stringId - The ID of the Microsoft.Network/networkInterfaces resource which the service have
- virtual
Subnet stringId - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- name str
- provisioning_
state str - The resource's provisioning state
- system_
data SystemData Response - type str
- auto_
stop_ strdelay - The time delay before the service is auto-stopped when idle.
- delete_
resources_ boolon_ stop - Whether service resources should be deleted when stopped. (Turned on by default)
- etag str
- HTTP strong entity tag value. Ignored if submitted
- kind str
- The resource kind. Only 'vm' (the default) is supported.
- location str
- public_
key str - The public key of the service, used to encrypt secrets sent to the service
- sku
Service
Sku Response - Service SKU
- Mapping[str, str]
- virtual_
nic_ strid - The ID of the Microsoft.Network/networkInterfaces resource which the service have
- virtual_
subnet_ strid - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- name String
- provisioning
State String - The resource's provisioning state
- system
Data Property Map - type String
- auto
Stop StringDelay - The time delay before the service is auto-stopped when idle.
- delete
Resources BooleanOn Stop - Whether service resources should be deleted when stopped. (Turned on by default)
- etag String
- HTTP strong entity tag value. Ignored if submitted
- kind String
- The resource kind. Only 'vm' (the default) is supported.
- location String
- public
Key String - The public key of the service, used to encrypt secrets sent to the service
- sku Property Map
- Service SKU
- Map<String>
- virtual
Nic StringId - The ID of the Microsoft.Network/networkInterfaces resource which the service have
- virtual
Subnet StringId - The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined
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 'Basic', 'General Purpose', or 'Business Critical'
- 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 'Basic', 'General Purpose', or 'Business Critical'
- 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 'Basic', 'General Purpose', or 'Business Critical'
- 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 'Basic', 'General Purpose', or 'Business Critical'
- 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 'Basic', 'General Purpose', or 'Business Critical'
- 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 'Basic', 'General Purpose', or 'Business Critical'
SystemDataResponse
- Created
At string - Created
By string - Created
By stringType - Last
Modified stringAt - Last
Modified stringBy - Last
Modified stringBy Type
- Created
At string - Created
By string - Created
By stringType - Last
Modified stringAt - Last
Modified stringBy - Last
Modified stringBy Type
- created
At String - created
By String - created
By StringType - last
Modified StringAt - last
Modified StringBy - last
Modified StringBy Type
- created
At string - created
By string - created
By stringType - last
Modified stringAt - last
Modified stringBy - last
Modified stringBy Type
- created_
at str - created_
by str - created_
by_ strtype - last_
modified_ strat - last_
modified_ strby - last_
modified_ strby_ type
- created
At String - created
By String - created
By StringType - last
Modified StringAt - last
Modified StringBy - last
Modified StringBy Type
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0