environmenttypes

package
v0.20241126.2320 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/devcenter/2023-04-01/environmenttypes Documentation

The environmenttypes SDK allows for interaction with Azure Resource Manager devcenter (API Version 2023-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/devcenter/2023-04-01/environmenttypes"

Client Initialization

client := environmenttypes.NewEnvironmentTypesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: EnvironmentTypesClient.EnvironmentTypesCreateOrUpdate

ctx := context.TODO()
id := environmenttypes.NewDevCenterEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "devCenterName", "environmentTypeName")

payload := environmenttypes.EnvironmentType{
	// ...
}


read, err := client.EnvironmentTypesCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.EnvironmentTypesDelete

ctx := context.TODO()
id := environmenttypes.NewDevCenterEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "devCenterName", "environmentTypeName")

read, err := client.EnvironmentTypesDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.EnvironmentTypesGet

ctx := context.TODO()
id := environmenttypes.NewDevCenterEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "devCenterName", "environmentTypeName")

read, err := client.EnvironmentTypesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.EnvironmentTypesListByDevCenter

ctx := context.TODO()
id := environmenttypes.NewDevCenterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "devCenterName")

// alternatively `client.EnvironmentTypesListByDevCenter(ctx, id, environmenttypes.DefaultEnvironmentTypesListByDevCenterOperationOptions())` can be used to do batched pagination
items, err := client.EnvironmentTypesListByDevCenterComplete(ctx, id, environmenttypes.DefaultEnvironmentTypesListByDevCenterOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EnvironmentTypesClient.EnvironmentTypesUpdate

ctx := context.TODO()
id := environmenttypes.NewDevCenterEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "devCenterName", "environmentTypeName")

payload := environmenttypes.EnvironmentTypeUpdate{
	// ...
}


read, err := client.EnvironmentTypesUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.ProjectAllowedEnvironmentTypesGet

ctx := context.TODO()
id := environmenttypes.NewAllowedEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName", "allowedEnvironmentTypeName")

read, err := client.ProjectAllowedEnvironmentTypesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.ProjectAllowedEnvironmentTypesList

ctx := context.TODO()
id := environmenttypes.NewProjectID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName")

// alternatively `client.ProjectAllowedEnvironmentTypesList(ctx, id, environmenttypes.DefaultProjectAllowedEnvironmentTypesListOperationOptions())` can be used to do batched pagination
items, err := client.ProjectAllowedEnvironmentTypesListComplete(ctx, id, environmenttypes.DefaultProjectAllowedEnvironmentTypesListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EnvironmentTypesClient.ProjectEnvironmentTypesCreateOrUpdate

ctx := context.TODO()
id := environmenttypes.NewEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName", "environmentTypeName")

payload := environmenttypes.ProjectEnvironmentType{
	// ...
}


read, err := client.ProjectEnvironmentTypesCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.ProjectEnvironmentTypesDelete

ctx := context.TODO()
id := environmenttypes.NewEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName", "environmentTypeName")

read, err := client.ProjectEnvironmentTypesDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.ProjectEnvironmentTypesGet

ctx := context.TODO()
id := environmenttypes.NewEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName", "environmentTypeName")

read, err := client.ProjectEnvironmentTypesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EnvironmentTypesClient.ProjectEnvironmentTypesList

ctx := context.TODO()
id := environmenttypes.NewProjectID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName")

// alternatively `client.ProjectEnvironmentTypesList(ctx, id, environmenttypes.DefaultProjectEnvironmentTypesListOperationOptions())` can be used to do batched pagination
items, err := client.ProjectEnvironmentTypesListComplete(ctx, id, environmenttypes.DefaultProjectEnvironmentTypesListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EnvironmentTypesClient.ProjectEnvironmentTypesUpdate

ctx := context.TODO()
id := environmenttypes.NewEnvironmentTypeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "projectName", "environmentTypeName")

payload := environmenttypes.ProjectEnvironmentTypeUpdate{
	// ...
}


read, err := client.ProjectEnvironmentTypesUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForEnvironmentTypeEnableStatus

func PossibleValuesForEnvironmentTypeEnableStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func ValidateAllowedEnvironmentTypeID

func ValidateAllowedEnvironmentTypeID(input interface{}, key string) (warnings []string, errors []error)

ValidateAllowedEnvironmentTypeID checks that 'input' can be parsed as a Allowed Environment Type ID

func ValidateDevCenterEnvironmentTypeID

func ValidateDevCenterEnvironmentTypeID(input interface{}, key string) (warnings []string, errors []error)

ValidateDevCenterEnvironmentTypeID checks that 'input' can be parsed as a Dev Center Environment Type ID

func ValidateDevCenterID

func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)

ValidateDevCenterID checks that 'input' can be parsed as a Dev Center ID

func ValidateEnvironmentTypeID

func ValidateEnvironmentTypeID(input interface{}, key string) (warnings []string, errors []error)

ValidateEnvironmentTypeID checks that 'input' can be parsed as a Environment Type ID

func ValidateProjectID

func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)

ValidateProjectID checks that 'input' can be parsed as a Project ID

Types

type AllowedEnvironmentType

type AllowedEnvironmentType struct {
	Id         *string                           `json:"id,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *AllowedEnvironmentTypeProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData            `json:"systemData,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type AllowedEnvironmentTypeId

type AllowedEnvironmentTypeId struct {
	SubscriptionId             string
	ResourceGroupName          string
	ProjectName                string
	AllowedEnvironmentTypeName string
}

AllowedEnvironmentTypeId is a struct representing the Resource ID for a Allowed Environment Type

func NewAllowedEnvironmentTypeID

func NewAllowedEnvironmentTypeID(subscriptionId string, resourceGroupName string, projectName string, allowedEnvironmentTypeName string) AllowedEnvironmentTypeId

NewAllowedEnvironmentTypeID returns a new AllowedEnvironmentTypeId struct

func ParseAllowedEnvironmentTypeID

func ParseAllowedEnvironmentTypeID(input string) (*AllowedEnvironmentTypeId, error)

ParseAllowedEnvironmentTypeID parses 'input' into a AllowedEnvironmentTypeId

func ParseAllowedEnvironmentTypeIDInsensitively

func ParseAllowedEnvironmentTypeIDInsensitively(input string) (*AllowedEnvironmentTypeId, error)

ParseAllowedEnvironmentTypeIDInsensitively parses 'input' case-insensitively into a AllowedEnvironmentTypeId note: this method should only be used for API response data and not user input

func (*AllowedEnvironmentTypeId) FromParseResult

func (id *AllowedEnvironmentTypeId) FromParseResult(input resourceids.ParseResult) error

func (AllowedEnvironmentTypeId) ID

ID returns the formatted Allowed Environment Type ID

func (AllowedEnvironmentTypeId) Segments

Segments returns a slice of Resource ID Segments which comprise this Allowed Environment Type ID

func (AllowedEnvironmentTypeId) String

func (id AllowedEnvironmentTypeId) String() string

String returns a human-readable description of this Allowed Environment Type ID

type AllowedEnvironmentTypeOperationPredicate

type AllowedEnvironmentTypeOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (AllowedEnvironmentTypeOperationPredicate) Matches

type AllowedEnvironmentTypeProperties

type AllowedEnvironmentTypeProperties struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}

type DevCenterEnvironmentTypeId

type DevCenterEnvironmentTypeId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DevCenterName       string
	EnvironmentTypeName string
}

DevCenterEnvironmentTypeId is a struct representing the Resource ID for a Dev Center Environment Type

func NewDevCenterEnvironmentTypeID

func NewDevCenterEnvironmentTypeID(subscriptionId string, resourceGroupName string, devCenterName string, environmentTypeName string) DevCenterEnvironmentTypeId

NewDevCenterEnvironmentTypeID returns a new DevCenterEnvironmentTypeId struct

func ParseDevCenterEnvironmentTypeID

func ParseDevCenterEnvironmentTypeID(input string) (*DevCenterEnvironmentTypeId, error)

ParseDevCenterEnvironmentTypeID parses 'input' into a DevCenterEnvironmentTypeId

func ParseDevCenterEnvironmentTypeIDInsensitively

func ParseDevCenterEnvironmentTypeIDInsensitively(input string) (*DevCenterEnvironmentTypeId, error)

ParseDevCenterEnvironmentTypeIDInsensitively parses 'input' case-insensitively into a DevCenterEnvironmentTypeId note: this method should only be used for API response data and not user input

func (*DevCenterEnvironmentTypeId) FromParseResult

func (id *DevCenterEnvironmentTypeId) FromParseResult(input resourceids.ParseResult) error

func (DevCenterEnvironmentTypeId) ID

ID returns the formatted Dev Center Environment Type ID

func (DevCenterEnvironmentTypeId) Segments

Segments returns a slice of Resource ID Segments which comprise this Dev Center Environment Type ID

func (DevCenterEnvironmentTypeId) String

func (id DevCenterEnvironmentTypeId) String() string

String returns a human-readable description of this Dev Center Environment Type ID

type DevCenterId

type DevCenterId struct {
	SubscriptionId    string
	ResourceGroupName string
	DevCenterName     string
}

DevCenterId is a struct representing the Resource ID for a Dev Center

func NewDevCenterID

func NewDevCenterID(subscriptionId string, resourceGroupName string, devCenterName string) DevCenterId

NewDevCenterID returns a new DevCenterId struct

func ParseDevCenterID

func ParseDevCenterID(input string) (*DevCenterId, error)

ParseDevCenterID parses 'input' into a DevCenterId

func ParseDevCenterIDInsensitively

func ParseDevCenterIDInsensitively(input string) (*DevCenterId, error)

ParseDevCenterIDInsensitively parses 'input' case-insensitively into a DevCenterId note: this method should only be used for API response data and not user input

func (*DevCenterId) FromParseResult

func (id *DevCenterId) FromParseResult(input resourceids.ParseResult) error

func (DevCenterId) ID

func (id DevCenterId) ID() string

ID returns the formatted Dev Center ID

func (DevCenterId) Segments

func (id DevCenterId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Dev Center ID

func (DevCenterId) String

func (id DevCenterId) String() string

String returns a human-readable description of this Dev Center ID

type EnvironmentRole

type EnvironmentRole struct {
	Description *string `json:"description,omitempty"`
	RoleName    *string `json:"roleName,omitempty"`
}

type EnvironmentType

type EnvironmentType struct {
	Id         *string                    `json:"id,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *EnvironmentTypeProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData     `json:"systemData,omitempty"`
	Tags       *map[string]string         `json:"tags,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type EnvironmentTypeEnableStatus

type EnvironmentTypeEnableStatus string
const (
	EnvironmentTypeEnableStatusDisabled EnvironmentTypeEnableStatus = "Disabled"
	EnvironmentTypeEnableStatusEnabled  EnvironmentTypeEnableStatus = "Enabled"
)

func (*EnvironmentTypeEnableStatus) UnmarshalJSON

func (s *EnvironmentTypeEnableStatus) UnmarshalJSON(bytes []byte) error

type EnvironmentTypeId

type EnvironmentTypeId struct {
	SubscriptionId      string
	ResourceGroupName   string
	ProjectName         string
	EnvironmentTypeName string
}

EnvironmentTypeId is a struct representing the Resource ID for a Environment Type

func NewEnvironmentTypeID

func NewEnvironmentTypeID(subscriptionId string, resourceGroupName string, projectName string, environmentTypeName string) EnvironmentTypeId

NewEnvironmentTypeID returns a new EnvironmentTypeId struct

func ParseEnvironmentTypeID

func ParseEnvironmentTypeID(input string) (*EnvironmentTypeId, error)

ParseEnvironmentTypeID parses 'input' into a EnvironmentTypeId

func ParseEnvironmentTypeIDInsensitively

func ParseEnvironmentTypeIDInsensitively(input string) (*EnvironmentTypeId, error)

ParseEnvironmentTypeIDInsensitively parses 'input' case-insensitively into a EnvironmentTypeId note: this method should only be used for API response data and not user input

func (*EnvironmentTypeId) FromParseResult

func (id *EnvironmentTypeId) FromParseResult(input resourceids.ParseResult) error

func (EnvironmentTypeId) ID

func (id EnvironmentTypeId) ID() string

ID returns the formatted Environment Type ID

func (EnvironmentTypeId) Segments

func (id EnvironmentTypeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Environment Type ID

func (EnvironmentTypeId) String

func (id EnvironmentTypeId) String() string

String returns a human-readable description of this Environment Type ID

type EnvironmentTypeOperationPredicate

type EnvironmentTypeOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (EnvironmentTypeOperationPredicate) Matches

type EnvironmentTypeProperties

type EnvironmentTypeProperties struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}

type EnvironmentTypeUpdate

type EnvironmentTypeUpdate struct {
	Tags *map[string]string `json:"tags,omitempty"`
}

type EnvironmentTypesClient

type EnvironmentTypesClient struct {
	Client *resourcemanager.Client
}

func NewEnvironmentTypesClientWithBaseURI

func NewEnvironmentTypesClientWithBaseURI(sdkApi sdkEnv.Api) (*EnvironmentTypesClient, error)

func (EnvironmentTypesClient) EnvironmentTypesCreateOrUpdate

EnvironmentTypesCreateOrUpdate ...

func (EnvironmentTypesClient) EnvironmentTypesDelete

EnvironmentTypesDelete ...

func (EnvironmentTypesClient) EnvironmentTypesGet

EnvironmentTypesGet ...

func (EnvironmentTypesClient) EnvironmentTypesListByDevCenter

EnvironmentTypesListByDevCenter ...

func (EnvironmentTypesClient) EnvironmentTypesListByDevCenterComplete

EnvironmentTypesListByDevCenterComplete retrieves all the results into a single object

func (EnvironmentTypesClient) EnvironmentTypesListByDevCenterCompleteMatchingPredicate

func (c EnvironmentTypesClient) EnvironmentTypesListByDevCenterCompleteMatchingPredicate(ctx context.Context, id DevCenterId, options EnvironmentTypesListByDevCenterOperationOptions, predicate EnvironmentTypeOperationPredicate) (result EnvironmentTypesListByDevCenterCompleteResult, err error)

EnvironmentTypesListByDevCenterCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EnvironmentTypesClient) EnvironmentTypesUpdate

EnvironmentTypesUpdate ...

func (EnvironmentTypesClient) ProjectAllowedEnvironmentTypesGet

ProjectAllowedEnvironmentTypesGet ...

func (EnvironmentTypesClient) ProjectAllowedEnvironmentTypesList

ProjectAllowedEnvironmentTypesList ...

func (EnvironmentTypesClient) ProjectAllowedEnvironmentTypesListComplete

ProjectAllowedEnvironmentTypesListComplete retrieves all the results into a single object

func (EnvironmentTypesClient) ProjectAllowedEnvironmentTypesListCompleteMatchingPredicate

ProjectAllowedEnvironmentTypesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EnvironmentTypesClient) ProjectEnvironmentTypesCreateOrUpdate

ProjectEnvironmentTypesCreateOrUpdate ...

func (EnvironmentTypesClient) ProjectEnvironmentTypesDelete

ProjectEnvironmentTypesDelete ...

func (EnvironmentTypesClient) ProjectEnvironmentTypesGet

ProjectEnvironmentTypesGet ...

func (EnvironmentTypesClient) ProjectEnvironmentTypesList

ProjectEnvironmentTypesList ...

func (EnvironmentTypesClient) ProjectEnvironmentTypesListComplete

ProjectEnvironmentTypesListComplete retrieves all the results into a single object

func (EnvironmentTypesClient) ProjectEnvironmentTypesListCompleteMatchingPredicate

ProjectEnvironmentTypesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EnvironmentTypesClient) ProjectEnvironmentTypesUpdate

ProjectEnvironmentTypesUpdate ...

type EnvironmentTypesCreateOrUpdateOperationResponse

type EnvironmentTypesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *EnvironmentType
}

type EnvironmentTypesDeleteOperationResponse

type EnvironmentTypesDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type EnvironmentTypesGetOperationResponse

type EnvironmentTypesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *EnvironmentType
}

type EnvironmentTypesListByDevCenterCompleteResult

type EnvironmentTypesListByDevCenterCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []EnvironmentType
}

type EnvironmentTypesListByDevCenterCustomPager

type EnvironmentTypesListByDevCenterCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type EnvironmentTypesListByDevCenterOperationOptions

type EnvironmentTypesListByDevCenterOperationOptions struct {
	Top *int64
}

func DefaultEnvironmentTypesListByDevCenterOperationOptions

func DefaultEnvironmentTypesListByDevCenterOperationOptions() EnvironmentTypesListByDevCenterOperationOptions

func (EnvironmentTypesListByDevCenterOperationOptions) ToHeaders

func (EnvironmentTypesListByDevCenterOperationOptions) ToOData

func (EnvironmentTypesListByDevCenterOperationOptions) ToQuery

type EnvironmentTypesListByDevCenterOperationResponse

type EnvironmentTypesListByDevCenterOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]EnvironmentType
}

type EnvironmentTypesUpdateOperationResponse

type EnvironmentTypesUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *EnvironmentType
}

type ProjectAllowedEnvironmentTypesGetOperationResponse

type ProjectAllowedEnvironmentTypesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AllowedEnvironmentType
}

type ProjectAllowedEnvironmentTypesListCompleteResult

type ProjectAllowedEnvironmentTypesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AllowedEnvironmentType
}

type ProjectAllowedEnvironmentTypesListCustomPager

type ProjectAllowedEnvironmentTypesListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ProjectAllowedEnvironmentTypesListOperationOptions

type ProjectAllowedEnvironmentTypesListOperationOptions struct {
	Top *int64
}

func DefaultProjectAllowedEnvironmentTypesListOperationOptions

func DefaultProjectAllowedEnvironmentTypesListOperationOptions() ProjectAllowedEnvironmentTypesListOperationOptions

func (ProjectAllowedEnvironmentTypesListOperationOptions) ToHeaders

func (ProjectAllowedEnvironmentTypesListOperationOptions) ToOData

func (ProjectAllowedEnvironmentTypesListOperationOptions) ToQuery

type ProjectAllowedEnvironmentTypesListOperationResponse

type ProjectAllowedEnvironmentTypesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AllowedEnvironmentType
}

type ProjectEnvironmentType

type ProjectEnvironmentType struct {
	Id         *string                            `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                            `json:"location,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *ProjectEnvironmentTypeProperties  `json:"properties,omitempty"`
	SystemData *systemdata.SystemData             `json:"systemData,omitempty"`
	Tags       *map[string]string                 `json:"tags,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type ProjectEnvironmentTypeOperationPredicate

type ProjectEnvironmentTypeOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ProjectEnvironmentTypeOperationPredicate) Matches

type ProjectEnvironmentTypeProperties

type ProjectEnvironmentTypeProperties struct {
	CreatorRoleAssignment *ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment `json:"creatorRoleAssignment,omitempty"`
	DeploymentTargetId    *string                                                      `json:"deploymentTargetId,omitempty"`
	ProvisioningState     *ProvisioningState                                           `json:"provisioningState,omitempty"`
	Status                *EnvironmentTypeEnableStatus                                 `json:"status,omitempty"`
	UserRoleAssignments   *map[string]UserRoleAssignment                               `json:"userRoleAssignments,omitempty"`
}

type ProjectEnvironmentTypeUpdate

type ProjectEnvironmentTypeUpdate struct {
	Identity   *identity.SystemAndUserAssignedMap      `json:"identity,omitempty"`
	Properties *ProjectEnvironmentTypeUpdateProperties `json:"properties,omitempty"`
	Tags       *map[string]string                      `json:"tags,omitempty"`
}

type ProjectEnvironmentTypeUpdateProperties

type ProjectEnvironmentTypeUpdateProperties struct {
	CreatorRoleAssignment *ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment `json:"creatorRoleAssignment,omitempty"`
	DeploymentTargetId    *string                                                      `json:"deploymentTargetId,omitempty"`
	Status                *EnvironmentTypeEnableStatus                                 `json:"status,omitempty"`
	UserRoleAssignments   *map[string]UserRoleAssignment                               `json:"userRoleAssignments,omitempty"`
}

type ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment

type ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment struct {
	Roles *map[string]EnvironmentRole `json:"roles,omitempty"`
}

type ProjectEnvironmentTypesCreateOrUpdateOperationResponse

type ProjectEnvironmentTypesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectEnvironmentType
}

type ProjectEnvironmentTypesDeleteOperationResponse

type ProjectEnvironmentTypesDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ProjectEnvironmentTypesGetOperationResponse

type ProjectEnvironmentTypesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectEnvironmentType
}

type ProjectEnvironmentTypesListCompleteResult

type ProjectEnvironmentTypesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ProjectEnvironmentType
}

type ProjectEnvironmentTypesListCustomPager

type ProjectEnvironmentTypesListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ProjectEnvironmentTypesListOperationOptions

type ProjectEnvironmentTypesListOperationOptions struct {
	Top *int64
}

func DefaultProjectEnvironmentTypesListOperationOptions

func DefaultProjectEnvironmentTypesListOperationOptions() ProjectEnvironmentTypesListOperationOptions

func (ProjectEnvironmentTypesListOperationOptions) ToHeaders

func (ProjectEnvironmentTypesListOperationOptions) ToOData

func (ProjectEnvironmentTypesListOperationOptions) ToQuery

type ProjectEnvironmentTypesListOperationResponse

type ProjectEnvironmentTypesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ProjectEnvironmentType
}

type ProjectEnvironmentTypesUpdateOperationResponse

type ProjectEnvironmentTypesUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ProjectEnvironmentType
}

type ProjectId

type ProjectId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProjectName       string
}

ProjectId is a struct representing the Resource ID for a Project

func NewProjectID

func NewProjectID(subscriptionId string, resourceGroupName string, projectName string) ProjectId

NewProjectID returns a new ProjectId struct

func ParseProjectID

func ParseProjectID(input string) (*ProjectId, error)

ParseProjectID parses 'input' into a ProjectId

func ParseProjectIDInsensitively

func ParseProjectIDInsensitively(input string) (*ProjectId, error)

ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input

func (*ProjectId) FromParseResult

func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error

func (ProjectId) ID

func (id ProjectId) ID() string

ID returns the formatted Project ID

func (ProjectId) Segments

func (id ProjectId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Project ID

func (ProjectId) String

func (id ProjectId) String() string

String returns a human-readable description of this Project ID

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted                  ProvisioningState = "Accepted"
	ProvisioningStateCanceled                  ProvisioningState = "Canceled"
	ProvisioningStateCreated                   ProvisioningState = "Created"
	ProvisioningStateCreating                  ProvisioningState = "Creating"
	ProvisioningStateDeleted                   ProvisioningState = "Deleted"
	ProvisioningStateDeleting                  ProvisioningState = "Deleting"
	ProvisioningStateFailed                    ProvisioningState = "Failed"
	ProvisioningStateMovingResources           ProvisioningState = "MovingResources"
	ProvisioningStateNotSpecified              ProvisioningState = "NotSpecified"
	ProvisioningStateRolloutInProgress         ProvisioningState = "RolloutInProgress"
	ProvisioningStateRunning                   ProvisioningState = "Running"
	ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed"
	ProvisioningStateSucceeded                 ProvisioningState = "Succeeded"
	ProvisioningStateTransientFailure          ProvisioningState = "TransientFailure"
	ProvisioningStateUpdated                   ProvisioningState = "Updated"
	ProvisioningStateUpdating                  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type UserRoleAssignment

type UserRoleAssignment struct {
	Roles *map[string]EnvironmentRole `json:"roles,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL