Documentation ¶
Index ¶
- func PossibleValuesForAccessPolicyRole() []string
- func ValidateAccessPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPoliciesClient
- func (c AccessPoliciesClient) CreateOrUpdate(ctx context.Context, id AccessPolicyId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AccessPoliciesClient) Delete(ctx context.Context, id AccessPolicyId) (result DeleteOperationResponse, err error)
- func (c AccessPoliciesClient) Get(ctx context.Context, id AccessPolicyId) (result GetOperationResponse, err error)
- func (c AccessPoliciesClient) ListByEnvironment(ctx context.Context, id EnvironmentId) (result ListByEnvironmentOperationResponse, err error)
- func (c AccessPoliciesClient) Update(ctx context.Context, id AccessPolicyId, input AccessPolicyUpdateParameters) (result UpdateOperationResponse, err error)
- type AccessPolicyCreateOrUpdateParameters
- type AccessPolicyId
- type AccessPolicyListResponse
- type AccessPolicyMutableProperties
- type AccessPolicyResource
- type AccessPolicyResourceProperties
- type AccessPolicyRole
- type AccessPolicyUpdateParameters
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentId
- type GetOperationResponse
- type ListByEnvironmentOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessPolicyRole ¶
func PossibleValuesForAccessPolicyRole() []string
func ValidateAccessPolicyID ¶
ValidateAccessPolicyID checks that 'input' can be parsed as a Access Policy ID
func ValidateEnvironmentID ¶
ValidateEnvironmentID checks that 'input' can be parsed as a Environment ID
Types ¶
type AccessPoliciesClient ¶
type AccessPoliciesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAccessPoliciesClientWithBaseURI ¶
func NewAccessPoliciesClientWithBaseURI(endpoint string) AccessPoliciesClient
func (AccessPoliciesClient) CreateOrUpdate ¶
func (c AccessPoliciesClient) CreateOrUpdate(ctx context.Context, id AccessPolicyId, input AccessPolicyCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AccessPoliciesClient) Delete ¶
func (c AccessPoliciesClient) Delete(ctx context.Context, id AccessPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (AccessPoliciesClient) Get ¶
func (c AccessPoliciesClient) Get(ctx context.Context, id AccessPolicyId) (result GetOperationResponse, err error)
Get ...
func (AccessPoliciesClient) ListByEnvironment ¶
func (c AccessPoliciesClient) ListByEnvironment(ctx context.Context, id EnvironmentId) (result ListByEnvironmentOperationResponse, err error)
ListByEnvironment ...
func (AccessPoliciesClient) Update ¶
func (c AccessPoliciesClient) Update(ctx context.Context, id AccessPolicyId, input AccessPolicyUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type AccessPolicyCreateOrUpdateParameters ¶
type AccessPolicyCreateOrUpdateParameters struct {
Properties AccessPolicyResourceProperties `json:"properties"`
}
type AccessPolicyId ¶
type AccessPolicyId struct { SubscriptionId string ResourceGroupName string EnvironmentName string AccessPolicyName string }
AccessPolicyId is a struct representing the Resource ID for a Access Policy
func NewAccessPolicyID ¶
func NewAccessPolicyID(subscriptionId string, resourceGroupName string, environmentName string, accessPolicyName string) AccessPolicyId
NewAccessPolicyID returns a new AccessPolicyId struct
func ParseAccessPolicyID ¶
func ParseAccessPolicyID(input string) (*AccessPolicyId, error)
ParseAccessPolicyID parses 'input' into a AccessPolicyId
func ParseAccessPolicyIDInsensitively ¶
func ParseAccessPolicyIDInsensitively(input string) (*AccessPolicyId, error)
ParseAccessPolicyIDInsensitively parses 'input' case-insensitively into a AccessPolicyId note: this method should only be used for API response data and not user input
func (AccessPolicyId) ID ¶
func (id AccessPolicyId) ID() string
ID returns the formatted Access Policy ID
func (AccessPolicyId) Segments ¶
func (id AccessPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Access Policy ID
func (AccessPolicyId) String ¶
func (id AccessPolicyId) String() string
String returns a human-readable description of this Access Policy ID
type AccessPolicyListResponse ¶
type AccessPolicyListResponse struct {
Value *[]AccessPolicyResource `json:"value,omitempty"`
}
type AccessPolicyMutableProperties ¶
type AccessPolicyMutableProperties struct { Description *string `json:"description,omitempty"` Roles *[]AccessPolicyRole `json:"roles,omitempty"` }
type AccessPolicyResource ¶
type AccessPolicyResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AccessPolicyResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AccessPolicyResourceProperties ¶
type AccessPolicyResourceProperties struct { Description *string `json:"description,omitempty"` PrincipalObjectId *string `json:"principalObjectId,omitempty"` Roles *[]AccessPolicyRole `json:"roles,omitempty"` }
type AccessPolicyRole ¶
type AccessPolicyRole string
const ( AccessPolicyRoleContributor AccessPolicyRole = "Contributor" AccessPolicyRoleReader AccessPolicyRole = "Reader" )
type AccessPolicyUpdateParameters ¶
type AccessPolicyUpdateParameters struct {
Properties *AccessPolicyMutableProperties `json:"properties,omitempty"`
}
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *AccessPolicyResource }
type DeleteOperationResponse ¶
type EnvironmentId ¶
EnvironmentId is a struct representing the Resource ID for a Environment
func NewEnvironmentID ¶
func NewEnvironmentID(subscriptionId string, resourceGroupName string, environmentName string) EnvironmentId
NewEnvironmentID returns a new EnvironmentId struct
func ParseEnvironmentID ¶
func ParseEnvironmentID(input string) (*EnvironmentId, error)
ParseEnvironmentID parses 'input' into a EnvironmentId
func ParseEnvironmentIDInsensitively ¶
func ParseEnvironmentIDInsensitively(input string) (*EnvironmentId, error)
ParseEnvironmentIDInsensitively parses 'input' case-insensitively into a EnvironmentId note: this method should only be used for API response data and not user input
func (EnvironmentId) ID ¶
func (id EnvironmentId) ID() string
ID returns the formatted Environment ID
func (EnvironmentId) Segments ¶
func (id EnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment ID
func (EnvironmentId) String ¶
func (id EnvironmentId) String() string
String returns a human-readable description of this Environment ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *AccessPolicyResource }
type ListByEnvironmentOperationResponse ¶
type ListByEnvironmentOperationResponse struct { HttpResponse *http.Response Model *AccessPolicyListResponse }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *AccessPolicyResource }
Source Files ¶
- client.go
- constants.go
- id_accesspolicy.go
- id_environment.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyenvironment_autorest.go
- method_update_autorest.go
- model_accesspolicycreateorupdateparameters.go
- model_accesspolicylistresponse.go
- model_accesspolicymutableproperties.go
- model_accesspolicyresource.go
- model_accesspolicyresourceproperties.go
- model_accesspolicyupdateparameters.go
- version.go