1. Packages
  2. Azure Native
  3. API Docs
  4. management
  5. listServiceGroupAncestors
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi

azure-native.management.listServiceGroupAncestors

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi

    Get the details of the serviceGroup’s ancestors

    Uses Azure REST API version 2024-02-01-preview.

    Using listServiceGroupAncestors

    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 listServiceGroupAncestors(args: ListServiceGroupAncestorsArgs, opts?: InvokeOptions): Promise<ListServiceGroupAncestorsResult>
    function listServiceGroupAncestorsOutput(args: ListServiceGroupAncestorsOutputArgs, opts?: InvokeOptions): Output<ListServiceGroupAncestorsResult>
    def list_service_group_ancestors(service_group_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> ListServiceGroupAncestorsResult
    def list_service_group_ancestors_output(service_group_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[ListServiceGroupAncestorsResult]
    func ListServiceGroupAncestors(ctx *Context, args *ListServiceGroupAncestorsArgs, opts ...InvokeOption) (*ListServiceGroupAncestorsResult, error)
    func ListServiceGroupAncestorsOutput(ctx *Context, args *ListServiceGroupAncestorsOutputArgs, opts ...InvokeOption) ListServiceGroupAncestorsResultOutput

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

    public static class ListServiceGroupAncestors 
    {
        public static Task<ListServiceGroupAncestorsResult> InvokeAsync(ListServiceGroupAncestorsArgs args, InvokeOptions? opts = null)
        public static Output<ListServiceGroupAncestorsResult> Invoke(ListServiceGroupAncestorsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListServiceGroupAncestorsResult> listServiceGroupAncestors(ListServiceGroupAncestorsArgs args, InvokeOptions options)
    public static Output<ListServiceGroupAncestorsResult> listServiceGroupAncestors(ListServiceGroupAncestorsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:management:listServiceGroupAncestors
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceGroupName string
    ServiceGroup Name.
    ServiceGroupName string
    ServiceGroup Name.
    serviceGroupName String
    ServiceGroup Name.
    serviceGroupName string
    ServiceGroup Name.
    service_group_name str
    ServiceGroup Name.
    serviceGroupName String
    ServiceGroup Name.

    listServiceGroupAncestors Result

    The following output properties are available:

    NextLink string
    URL to query the next page of results for this request
    Value List<Pulumi.AzureNative.Management.Outputs.ServiceGroupResponse>
    Array of service groups based on the request criteria
    NextLink string
    URL to query the next page of results for this request
    Value []ServiceGroupResponse
    Array of service groups based on the request criteria
    nextLink String
    URL to query the next page of results for this request
    value List<ServiceGroupResponse>
    Array of service groups based on the request criteria
    nextLink string
    URL to query the next page of results for this request
    value ServiceGroupResponse[]
    Array of service groups based on the request criteria
    next_link str
    URL to query the next page of results for this request
    value Sequence[ServiceGroupResponse]
    Array of service groups based on the request criteria
    nextLink String
    URL to query the next page of results for this request
    value List<Property Map>
    Array of service groups based on the request criteria

    Supporting Types

    ParentServiceGroupPropertiesResponse

    ResourceId string
    The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'
    ResourceId string
    The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'
    resourceId String
    The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'
    resourceId string
    The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'
    resource_id str
    The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'
    resourceId String
    The fully qualified ID of the parent serviceGroup. For example, '/providers/Microsoft.Management/serviceGroups/TestServiceGroup'

    ServiceGroupPropertiesResponse

    ProvisioningState string
    The provisioning state of the serviceGroup. For example, Running
    DisplayName string
    The display name of the serviceGroup. For example, ServiceGroupTest1
    Parent Pulumi.AzureNative.Management.Inputs.ParentServiceGroupPropertiesResponse
    The details of the parent serviceGroup.
    ProvisioningState string
    The provisioning state of the serviceGroup. For example, Running
    DisplayName string
    The display name of the serviceGroup. For example, ServiceGroupTest1
    Parent ParentServiceGroupPropertiesResponse
    The details of the parent serviceGroup.
    provisioningState String
    The provisioning state of the serviceGroup. For example, Running
    displayName String
    The display name of the serviceGroup. For example, ServiceGroupTest1
    parent ParentServiceGroupPropertiesResponse
    The details of the parent serviceGroup.
    provisioningState string
    The provisioning state of the serviceGroup. For example, Running
    displayName string
    The display name of the serviceGroup. For example, ServiceGroupTest1
    parent ParentServiceGroupPropertiesResponse
    The details of the parent serviceGroup.
    provisioning_state str
    The provisioning state of the serviceGroup. For example, Running
    display_name str
    The display name of the serviceGroup. For example, ServiceGroupTest1
    parent ParentServiceGroupPropertiesResponse
    The details of the parent serviceGroup.
    provisioningState String
    The provisioning state of the serviceGroup. For example, Running
    displayName String
    The display name of the serviceGroup. For example, ServiceGroupTest1
    parent Property Map
    The details of the parent serviceGroup.

    ServiceGroupResponse

    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.Management.Inputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Kind string
    The kind of the serviceGroup.
    Properties Pulumi.AzureNative.Management.Inputs.ServiceGroupPropertiesResponse
    ServiceGroup creation request body parameters.
    Tags Dictionary<string, string>
    The serviceGroup tags.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Kind string
    The kind of the serviceGroup.
    Properties ServiceGroupPropertiesResponse
    ServiceGroup creation request body parameters.
    Tags map[string]string
    The serviceGroup tags.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    kind String
    The kind of the serviceGroup.
    properties ServiceGroupPropertiesResponse
    ServiceGroup creation request body parameters.
    tags Map<String,String>
    The serviceGroup tags.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    kind string
    The kind of the serviceGroup.
    properties ServiceGroupPropertiesResponse
    ServiceGroup creation request body parameters.
    tags {[key: string]: string}
    The serviceGroup tags.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    kind str
    The kind of the serviceGroup.
    properties ServiceGroupPropertiesResponse
    ServiceGroup creation request body parameters.
    tags Mapping[str, str]
    The serviceGroup tags.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    kind String
    The kind of the serviceGroup.
    properties Property Map
    ServiceGroup creation request body parameters.
    tags Map<String>
    The serviceGroup tags.

    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 v2 docs if using the v2 version of this package.
    Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi