ManagedClusterAgentHostingConfiguration Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ManagedClusterAgentHostingConfiguration.
public ManagedClusterAgentHostingConfiguration(string name, Azure.Core.ResourceIdentifier hostingManagementIdentityResourceId, Azure.Core.ResourceIdentifier workloadIdentityResourceId, Azure.Core.ResourceIdentifier clusterResourceId, Azure.Core.ResourceIdentifier storageAccountResourceId);
new Azure.ResourceManager.CognitiveServices.Models.ManagedClusterAgentHostingConfiguration : string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CognitiveServices.Models.ManagedClusterAgentHostingConfiguration
Public Sub New (name As String, hostingManagementIdentityResourceId As ResourceIdentifier, workloadIdentityResourceId As ResourceIdentifier, clusterResourceId As ResourceIdentifier, storageAccountResourceId As ResourceIdentifier)
Parameters
- name
- String
Unique name of the hosting configuration within the Foundry account.
- hostingManagementIdentityResourceId
- ResourceIdentifier
Azure resource ID of the user-assigned managed identity used by the Foundry resource provider to manage the hosting configuration. The identity must be assigned to the Foundry account in identity.userAssignedIdentities.
- workloadIdentityResourceId
- ResourceIdentifier
Azure resource ID of the separate user-assigned managed identity federated to service accounts on the AKS cluster. Hosted agents use this identity to access the Azure Storage blob data plane.
- clusterResourceId
- ResourceIdentifier
Azure resource ID of the customer-owned AKS managed cluster that runs the hosted agent workloads.
- storageAccountResourceId
- ResourceIdentifier
Azure resource ID of the customer-owned storage account used by the hosted agents. The storage account must be in the same subscription and region as the AKS cluster, and its data-plane endpoint must be reachable from the workload network.
Exceptions
name, hostingManagementIdentityResourceId, workloadIdentityResourceId, clusterResourceId or storageAccountResourceId is null.