共用方式為


ArmContainerServiceModelFactory.ContainerServiceTrustedAccessRoleRule Method

Definition

Initializes a new instance of ContainerServiceTrustedAccessRoleRule.

public static Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRoleRule ContainerServiceTrustedAccessRoleRule (System.Collections.Generic.IEnumerable<string> verbs = default, System.Collections.Generic.IEnumerable<string> apiGroups = default, System.Collections.Generic.IEnumerable<string> resources = default, System.Collections.Generic.IEnumerable<string> resourceNames = default, System.Collections.Generic.IEnumerable<string> nonResourceUrls = default);
static member ContainerServiceTrustedAccessRoleRule : seq<string> * seq<string> * seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRoleRule
Public Shared Function ContainerServiceTrustedAccessRoleRule (Optional verbs As IEnumerable(Of String) = Nothing, Optional apiGroups As IEnumerable(Of String) = Nothing, Optional resources As IEnumerable(Of String) = Nothing, Optional resourceNames As IEnumerable(Of String) = Nothing, Optional nonResourceUrls As IEnumerable(Of String) = Nothing) As ContainerServiceTrustedAccessRoleRule

Parameters

verbs
IEnumerable<String>

List of allowed verbs.

apiGroups
IEnumerable<String>

List of allowed apiGroups.

resources
IEnumerable<String>

List of allowed resources.

resourceNames
IEnumerable<String>

List of allowed names.

nonResourceUrls
IEnumerable<String>

List of allowed nonResourceURLs.

Returns

A new ContainerServiceTrustedAccessRoleRule instance for mocking.

Applies to