1. Packages
  2. Azure Native
  3. API Docs
  4. datamigration
  5. getService
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.datamigration.getService

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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. Azure REST API version: 2021-06-30.

    Other available API versions: 2022-03-30-preview, 2023-07-15-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:

    GroupName string
    Name of the resource group
    ServiceName string
    Name of the service
    GroupName string
    Name of the resource group
    ServiceName string
    Name of the service
    groupName String
    Name of the resource group
    serviceName String
    Name of the service
    groupName string
    Name of the resource group
    serviceName string
    Name of the service
    group_name str
    Name of the resource group
    service_name str
    Name of the service
    groupName String
    Name of the resource group
    serviceName 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
    SystemData Pulumi.AzureNative.DataMigration.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    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.
    VirtualNicId string
    The ID of the Microsoft.Network/networkInterfaces resource which the service have
    Id string
    Resource ID.
    Location string
    Resource location.
    Name string
    Resource name.
    ProvisioningState string
    The resource's provisioning state
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    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.
    VirtualNicId string
    The ID of the Microsoft.Network/networkInterfaces resource which the service have
    id String
    Resource ID.
    location String
    Resource location.
    name String
    Resource name.
    provisioningState String
    The resource's provisioning state
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    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.
    virtualNicId String
    The ID of the Microsoft.Network/networkInterfaces resource which the service have
    id string
    Resource ID.
    location string
    Resource location.
    name string
    Resource name.
    provisioningState string
    The resource's provisioning state
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    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.
    virtualNicId string
    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 SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    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.
    virtual_nic_id str
    The ID of the Microsoft.Network/networkInterfaces resource which the service have
    id String
    Resource ID.
    location String
    Resource location.
    name String
    Resource name.
    provisioningState String
    The resource's provisioning state
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    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.
    virtualNicId String
    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

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi