ArmContainerServiceModelFactory.ContainerServiceTrustedAccessRole Method
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 ContainerServiceTrustedAccessRole.
public static Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRole ContainerServiceTrustedAccessRole (string sourceResourceType = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRoleRule> rules = default);
static member ContainerServiceTrustedAccessRole : string * string * seq<Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRoleRule> -> Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRole
Public Shared Function ContainerServiceTrustedAccessRole (Optional sourceResourceType As String = Nothing, Optional name As String = Nothing, Optional rules As IEnumerable(Of ContainerServiceTrustedAccessRoleRule) = Nothing) As ContainerServiceTrustedAccessRole
Parameters
- sourceResourceType
- String
Resource type of Azure resource.
- name
- String
Name of role, name is unique under a source resource type.
List of rules for the role. This maps to 'rules' property of Kubernetes Cluster Role.
Returns
A new ContainerServiceTrustedAccessRole instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for