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
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the service resource.
- Service
Topology stringName - The name of the service topology .
- Service
Unit stringName - The name of the service unit resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the service resource.
- Service
Topology stringName - The name of the service topology .
- Service
Unit stringName - The name of the service unit resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the service resource.
- service
Topology StringName - The name of the service topology .
- service
Unit StringName - The name of the service unit resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- service
Name string - The name of the service resource.
- service
Topology stringName - The name of the service topology .
- service
Unit stringName - The name of the service unit resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- service_
name str - The name of the service resource.
- service_
topology_ strname - The name of the service topology .
- service_
unit_ strname - The name of the service unit resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the service resource.
- service
Topology StringName - The name of the service topology .
- service
Unit StringName - The name of the service unit resource.
getServiceUnit Result
The following output properties are available:
- Deployment
Mode 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
- Target
Resource stringGroup - 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.
Azure Native. Deployment Manager. Outputs. Service Unit Artifacts Response - The artifacts for the service unit.
- Dictionary<string, string>
- Resource tags.
- Deployment
Mode 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
- Target
Resource stringGroup - 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
Service
Unit Artifacts Response - The artifacts for the service unit.
- map[string]string
- Resource tags.
- deployment
Mode 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
- target
Resource StringGroup - 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
Service
Unit Artifacts Response - The artifacts for the service unit.
- Map<String,String>
- Resource tags.
- deployment
Mode 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
- target
Resource stringGroup - 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
Service
Unit Artifacts Response - The artifacts for the service unit.
- {[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_ strgroup - 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
Service
Unit Artifacts Response - The artifacts for the service unit.
- Mapping[str, str]
- Resource tags.
- deployment
Mode 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
- target
Resource StringGroup - 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.
- Map<String>
- Resource tags.
Supporting Types
ServiceUnitArtifactsResponse
- Parameters
Artifact stringSource Relative Path - The path to the ARM parameters file relative to the artifact source.
- Parameters
Uri string - The full URI of the ARM parameters file with the SAS token.
- Template
Artifact stringSource Relative Path - The path to the ARM template file relative to the artifact source.
- Template
Uri string - The full URI of the ARM template file with the SAS token.
- Parameters
Artifact stringSource Relative Path - The path to the ARM parameters file relative to the artifact source.
- Parameters
Uri string - The full URI of the ARM parameters file with the SAS token.
- Template
Artifact stringSource Relative Path - The path to the ARM template file relative to the artifact source.
- Template
Uri string - The full URI of the ARM template file with the SAS token.
- parameters
Artifact StringSource Relative Path - The path to the ARM parameters file relative to the artifact source.
- parameters
Uri String - The full URI of the ARM parameters file with the SAS token.
- template
Artifact StringSource Relative Path - The path to the ARM template file relative to the artifact source.
- template
Uri String - The full URI of the ARM template file with the SAS token.
- parameters
Artifact stringSource Relative Path - The path to the ARM parameters file relative to the artifact source.
- parameters
Uri string - The full URI of the ARM parameters file with the SAS token.
- template
Artifact stringSource Relative Path - The path to the ARM template file relative to the artifact source.
- template
Uri string - The full URI of the ARM template file with the SAS token.
- parameters_
artifact_ strsource_ relative_ path - 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_ strsource_ relative_ path - 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.
- parameters
Artifact StringSource Relative Path - The path to the ARM parameters file relative to the artifact source.
- parameters
Uri String - The full URI of the ARM parameters file with the SAS token.
- template
Artifact StringSource Relative Path - The path to the ARM template file relative to the artifact source.
- template
Uri 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
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