1. Packages
  2. Azure Native v1
  3. API Docs
  4. deploymentmanager
  5. getServiceUnit
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.deploymentmanager.getServiceUnit

Explore with Pulumi AI

azure-native-v1 logo
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

    Represents the response of a service unit resource. API Version: 2019-11-01-preview.

    Using getServiceUnit

    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 getServiceUnit(args: GetServiceUnitArgs, opts?: InvokeOptions): Promise<GetServiceUnitResult>
    function getServiceUnitOutput(args: GetServiceUnitOutputArgs, opts?: InvokeOptions): Output<GetServiceUnitResult>
    def get_service_unit(resource_group_name: Optional[str] = None,
                         service_name: Optional[str] = None,
                         service_topology_name: Optional[str] = None,
                         service_unit_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetServiceUnitResult
    def get_service_unit_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                         service_name: Optional[pulumi.Input[str]] = None,
                         service_topology_name: Optional[pulumi.Input[str]] = None,
                         service_unit_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetServiceUnitResult]
    func LookupServiceUnit(ctx *Context, args *LookupServiceUnitArgs, opts ...InvokeOption) (*LookupServiceUnitResult, error)
    func LookupServiceUnitOutput(ctx *Context, args *LookupServiceUnitOutputArgs, opts ...InvokeOption) LookupServiceUnitResultOutput

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

    public static class GetServiceUnit 
    {
        public static Task<GetServiceUnitResult> InvokeAsync(GetServiceUnitArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceUnitResult> Invoke(GetServiceUnitInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceUnitResult> getServiceUnit(GetServiceUnitArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:deploymentmanager:getServiceUnit
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServiceName string
    The name of the service resource.
    ServiceTopologyName string
    The name of the service topology .
    ServiceUnitName string
    The name of the service unit resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ServiceName string
    The name of the service resource.
    ServiceTopologyName string
    The name of the service topology .
    ServiceUnitName string
    The name of the service unit resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    The name of the service resource.
    serviceTopologyName String
    The name of the service topology .
    serviceUnitName String
    The name of the service unit resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    serviceName string
    The name of the service resource.
    serviceTopologyName string
    The name of the service topology .
    serviceUnitName string
    The name of the service unit resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    service_name str
    The name of the service resource.
    service_topology_name str
    The name of the service topology .
    service_unit_name str
    The name of the service unit resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    The name of the service resource.
    serviceTopologyName String
    The name of the service topology .
    serviceUnitName String
    The name of the service unit resource.

    getServiceUnit Result

    The following output properties are available:

    DeploymentMode string
    Describes the type of ARM deployment to be performed on the resource.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    TargetResourceGroup string
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Artifacts Pulumi.AzureNative.DeploymentManager.Outputs.ServiceUnitArtifactsResponse
    The artifacts for the service unit.
    Tags Dictionary<string, string>
    Resource tags.
    DeploymentMode string
    Describes the type of ARM deployment to be performed on the resource.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    TargetResourceGroup string
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Artifacts ServiceUnitArtifactsResponse
    The artifacts for the service unit.
    Tags map[string]string
    Resource tags.
    deploymentMode String
    Describes the type of ARM deployment to be performed on the resource.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    targetResourceGroup String
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    artifacts ServiceUnitArtifactsResponse
    The artifacts for the service unit.
    tags Map<String,String>
    Resource tags.
    deploymentMode string
    Describes the type of ARM deployment to be performed on the resource.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    targetResourceGroup string
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    artifacts ServiceUnitArtifactsResponse
    The artifacts for the service unit.
    tags {[key: string]: string}
    Resource tags.
    deployment_mode str
    Describes the type of ARM deployment to be performed on the resource.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    target_resource_group str
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    artifacts ServiceUnitArtifactsResponse
    The artifacts for the service unit.
    tags Mapping[str, str]
    Resource tags.
    deploymentMode String
    Describes the type of ARM deployment to be performed on the resource.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    targetResourceGroup String
    The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    artifacts Property Map
    The artifacts for the service unit.
    tags Map<String>
    Resource tags.

    Supporting Types

    ServiceUnitArtifactsResponse

    ParametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    ParametersUri string
    The full URI of the ARM parameters file with the SAS token.
    TemplateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    TemplateUri string
    The full URI of the ARM template file with the SAS token.
    ParametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    ParametersUri string
    The full URI of the ARM parameters file with the SAS token.
    TemplateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    TemplateUri string
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath String
    The path to the ARM parameters file relative to the artifact source.
    parametersUri String
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath String
    The path to the ARM template file relative to the artifact source.
    templateUri String
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath string
    The path to the ARM parameters file relative to the artifact source.
    parametersUri string
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath string
    The path to the ARM template file relative to the artifact source.
    templateUri string
    The full URI of the ARM template file with the SAS token.
    parameters_artifact_source_relative_path str
    The path to the ARM parameters file relative to the artifact source.
    parameters_uri str
    The full URI of the ARM parameters file with the SAS token.
    template_artifact_source_relative_path str
    The path to the ARM template file relative to the artifact source.
    template_uri str
    The full URI of the ARM template file with the SAS token.
    parametersArtifactSourceRelativePath String
    The path to the ARM parameters file relative to the artifact source.
    parametersUri String
    The full URI of the ARM parameters file with the SAS token.
    templateArtifactSourceRelativePath String
    The path to the ARM template file relative to the artifact source.
    templateUri String
    The full URI of the ARM template file with the SAS token.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    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