azure-native.datamigration.getService
Explore with Pulumi AI
The services resource is the top-level resource that represents the Database Migration Service. The GET method retrieves information about a service instance. Azure REST API version: 2021-06-30.
Other available API versions: 2022-03-30-preview.
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)
// Output-based functions aren't available in Java yet
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:
- Id string
Resource ID.
- Location string
Resource location.
- Name string
Resource name.
- Provisioning
State string The resource's provisioning state
- System
Data Pulumi.Azure Native. Data Migration. Outputs. System Data Response Metadata pertaining to creation and last modification of the resource.
- Type string
Resource type.
- Virtual
Subnet stringId 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.
- 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>
Resource tags.
- Virtual
Nic stringId The ID of the Microsoft.Network/networkInterfaces resource which the service have
- Id string
Resource ID.
- Location string
Resource location.
- Name string
Resource name.
- Provisioning
State string The resource's provisioning state
- System
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- Type string
Resource type.
- Virtual
Subnet stringId 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.
- 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
Resource tags.
- Virtual
Nic stringId The ID of the Microsoft.Network/networkInterfaces resource which the service have
- id String
Resource ID.
- location String
Resource location.
- name String
Resource name.
- provisioning
State String The resource's provisioning state
- system
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- type String
Resource type.
- virtual
Subnet StringId 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.
- 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>
Resource tags.
- virtual
Nic StringId The ID of the Microsoft.Network/networkInterfaces resource which the service have
- id string
Resource ID.
- location string
Resource location.
- name string
Resource name.
- provisioning
State string The resource's provisioning state
- system
Data SystemData Response Metadata pertaining to creation and last modification of the resource.
- type string
Resource type.
- virtual
Subnet stringId 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.
- 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}
Resource tags.
- virtual
Nic stringId The ID of the Microsoft.Network/networkInterfaces resource which the service have
- id str
Resource ID.
- location str
Resource location.
- name str
Resource name.
- provisioning_
state str The resource's provisioning state
- system_
data SystemData Response Metadata pertaining to creation and last modification of the resource.
- type str
Resource type.
- virtual_
subnet_ strid 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
Service
Sku Response Service SKU
- Mapping[str, str]
Resource tags.
- virtual_
nic_ strid The ID of the Microsoft.Network/networkInterfaces resource which the service have
- id String
Resource ID.
- location String
Resource location.
- name String
Resource name.
- provisioning
State String The resource's provisioning state
- system
Data Property Map Metadata pertaining to creation and last modification of the resource.
- type String
Resource type.
- virtual
Subnet StringId 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.
- public
Key String The public key of the service, used to encrypt secrets sent to the service
- sku Property Map
Service SKU
- Map<String>
Resource tags.
- virtual
Nic StringId The ID of the Microsoft.Network/networkInterfaces resource which the service have
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 The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0