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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET