Documentation ¶
Overview ¶
+azure:enableclientgen:=true
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) Create(ctx context.Context, scope string, roleAssignmentName string, ...) (result *armauthorization.RoleAssignment, err error)
- func (client *Client) Delete(ctx context.Context, scope string, roleAssignmentName string, ...) (result *armauthorization.RoleAssignment, err error)
- func (client *Client) Get(ctx context.Context, scope string, roleAssignmentName string, ...) (result *armauthorization.RoleAssignment, err error)
- type Interface
Constants ¶
View Source
const CreateOrUpdateOperationName = "RoleAssignmentsClient.Create"
View Source
const DeleteOperationName = "RoleAssignmentsClient.Delete"
View Source
const GetOperationName = "RoleAssignmentsClient.Get"
Get gets a role assignment.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armauthorization.RoleAssignmentsClient // contains filtered or unexported fields }
func (*Client) Create ¶
func (client *Client) Create(ctx context.Context, scope string, roleAssignmentName string, parameters armauthorization.RoleAssignmentCreateParameters) (result *armauthorization.RoleAssignment, err error)
CreateOrUpdate creates or updates a Subnet.
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, scope string, roleAssignmentName string, options *armauthorization.RoleAssignmentsClientDeleteOptions) (result *armauthorization.RoleAssignment, err error)
Delete deletes a Subnet by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, scope string, roleAssignmentName string, options *armauthorization.RoleAssignmentsClientGetOptions) (result *armauthorization.RoleAssignment, err error)
type Interface ¶
type Interface interface { Get(ctx context.Context, scope string, roleAssignmentName string, options *armauthorization.RoleAssignmentsClientGetOptions) (*armauthorization.RoleAssignment, error) Create(ctx context.Context, scope string, roleAssignmentName string, parameters armauthorization.RoleAssignmentCreateParameters) (*armauthorization.RoleAssignment, error) Delete(ctx context.Context, scope string, roleAssignmentName string, options *armauthorization.RoleAssignmentsClientDeleteOptions) (*armauthorization.RoleAssignment, error) }
+azure:client:verbs=,resource=RoleAssignment,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2,packageAlias=armauthorization,clientName=RoleAssignmentsClient,expand=false
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_roleassignmentclient is a generated GoMock package.
|
Package mock_roleassignmentclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.