powerplatform

package
v55.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package powerplatform implements the Azure ARM Powerplatform service API version 2020-10-30-preview.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Powerplatform
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Powerplatform.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// Application ...
	Application CreatedByType = "Application"
	// Key ...
	Key CreatedByType = "Key"
	// ManagedIdentity ...
	ManagedIdentity CreatedByType = "ManagedIdentity"
	// User ...
	User CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type EnterprisePoliciesClient

type EnterprisePoliciesClient struct {
	BaseClient
}

EnterprisePoliciesClient is the client for the EnterprisePolicies methods of the Powerplatform service.

func NewEnterprisePoliciesClient

func NewEnterprisePoliciesClient(subscriptionID string) EnterprisePoliciesClient

NewEnterprisePoliciesClient creates an instance of the EnterprisePoliciesClient client.

func NewEnterprisePoliciesClientWithBaseURI

func NewEnterprisePoliciesClientWithBaseURI(baseURI string, subscriptionID string) EnterprisePoliciesClient

NewEnterprisePoliciesClientWithBaseURI creates an instance of the EnterprisePoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EnterprisePoliciesClient) CreateOrUpdate

func (client EnterprisePoliciesClient) CreateOrUpdate(ctx context.Context, enterprisePolicyName string, resourceGroupName string, parameters EnterprisePolicy) (result EnterprisePolicy, err error)

CreateOrUpdate creates an EnterprisePolicy Parameters: enterprisePolicyName - name of the EnterprisePolicy. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to create or update EnterprisePolicy.

func (EnterprisePoliciesClient) CreateOrUpdatePreparer

func (client EnterprisePoliciesClient) CreateOrUpdatePreparer(ctx context.Context, enterprisePolicyName string, resourceGroupName string, parameters EnterprisePolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EnterprisePoliciesClient) CreateOrUpdateResponder

func (client EnterprisePoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result EnterprisePolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EnterprisePoliciesClient) CreateOrUpdateSender

func (client EnterprisePoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (EnterprisePoliciesClient) Delete

func (client EnterprisePoliciesClient) Delete(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (result autorest.Response, err error)

Delete delete an EnterprisePolicy Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - name of the EnterprisePolicy

func (EnterprisePoliciesClient) DeletePreparer

func (client EnterprisePoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EnterprisePoliciesClient) DeleteResponder

func (client EnterprisePoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EnterprisePoliciesClient) DeleteSender

func (client EnterprisePoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EnterprisePoliciesClient) Get

func (client EnterprisePoliciesClient) Get(ctx context.Context, enterprisePolicyName string, resourceGroupName string) (result EnterprisePolicy, err error)

Get get information about an EnterprisePolicy Parameters: enterprisePolicyName - the EnterprisePolicy name. resourceGroupName - the name of the resource group. The name is case insensitive.

func (EnterprisePoliciesClient) GetPreparer

func (client EnterprisePoliciesClient) GetPreparer(ctx context.Context, enterprisePolicyName string, resourceGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnterprisePoliciesClient) GetResponder

func (client EnterprisePoliciesClient) GetResponder(resp *http.Response) (result EnterprisePolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnterprisePoliciesClient) GetSender

func (client EnterprisePoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EnterprisePoliciesClient) ListByResourceGroup

func (client EnterprisePoliciesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EnterprisePolicyList, err error)

ListByResourceGroup retrieve a list of EnterprisePolicies within a given resource group Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (EnterprisePoliciesClient) ListByResourceGroupPreparer

func (client EnterprisePoliciesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (EnterprisePoliciesClient) ListByResourceGroupResponder

func (client EnterprisePoliciesClient) ListByResourceGroupResponder(resp *http.Response) (result EnterprisePolicyList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (EnterprisePoliciesClient) ListByResourceGroupSender

func (client EnterprisePoliciesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (EnterprisePoliciesClient) ListBySubscription

func (client EnterprisePoliciesClient) ListBySubscription(ctx context.Context) (result EnterprisePolicyList, err error)

ListBySubscription retrieve a list of EnterprisePolicies within a subscription

func (EnterprisePoliciesClient) ListBySubscriptionPreparer

func (client EnterprisePoliciesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (EnterprisePoliciesClient) ListBySubscriptionResponder

func (client EnterprisePoliciesClient) ListBySubscriptionResponder(resp *http.Response) (result EnterprisePolicyList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (EnterprisePoliciesClient) ListBySubscriptionSender

func (client EnterprisePoliciesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (EnterprisePoliciesClient) Update

func (client EnterprisePoliciesClient) Update(ctx context.Context, enterprisePolicyName string, resourceGroupName string, parameters EnterprisePolicy) (result EnterprisePolicy, err error)

Update updates an EnterprisePolicy Parameters: enterprisePolicyName - name of the EnterprisePolicy. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to update EnterprisePolicy.

func (EnterprisePoliciesClient) UpdatePreparer

func (client EnterprisePoliciesClient) UpdatePreparer(ctx context.Context, enterprisePolicyName string, resourceGroupName string, parameters EnterprisePolicy) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EnterprisePoliciesClient) UpdateResponder

func (client EnterprisePoliciesClient) UpdateResponder(resp *http.Response) (result EnterprisePolicy, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EnterprisePoliciesClient) UpdateSender

func (client EnterprisePoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type EnterprisePolicy

type EnterprisePolicy struct {
	autorest.Response `json:"-"`
	// Identity - The identity of the EnterprisePolicy.
	Identity *EnterprisePolicyIdentity `json:"identity,omitempty"`
	// Properties - The properties that define configuration for the enterprise policy
	*Properties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

EnterprisePolicy definition of the EnterprisePolicy.

func (EnterprisePolicy) MarshalJSON

func (ep EnterprisePolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnterprisePolicy.

func (*EnterprisePolicy) UnmarshalJSON

func (ep *EnterprisePolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnterprisePolicy struct.

type EnterprisePolicyIdentity

type EnterprisePolicyIdentity struct {
	// SystemAssignedIdentityPrincipalID - READ-ONLY; The principal id of EnterprisePolicy identity.
	SystemAssignedIdentityPrincipalID *string `json:"systemAssignedIdentityPrincipalId,omitempty"`
	// TenantID - READ-ONLY; The tenant id associated with the EnterprisePolicy.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The type of identity used for the EnterprisePolicy. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. Possible values include: 'SystemAssigned', 'None'
	Type ResourceIdentityType `json:"type,omitempty"`
}

EnterprisePolicyIdentity the identity of the EnterprisePolicy.

func (EnterprisePolicyIdentity) MarshalJSON

func (epi EnterprisePolicyIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnterprisePolicyIdentity.

type EnterprisePolicyList

type EnterprisePolicyList struct {
	autorest.Response `json:"-"`
	// Value - Result of the list EnterprisePolicy operation.
	Value *[]EnterprisePolicy `json:"value,omitempty"`
}

EnterprisePolicyList the response of the list EnterprisePolicy operation.

type ErrorResponse

type ErrorResponse struct {
	// Error - Details about the error.
	Error *ErrorResponseBody `json:"error,omitempty"`
}

ErrorResponse ARM error response body.

type ErrorResponseBody

type ErrorResponseBody struct {
	// Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`
	// Message - A message describing the error, intended to be suitable for display in a user interface.
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error. For example, the name of the property in error.
	Target *string `json:"target,omitempty"`
}

ErrorResponseBody an error response from the PowerPlatform service.

type KeyProperties

type KeyProperties struct {
	// Name - The identifier of the key vault key used to encrypt data.
	Name *string `json:"name,omitempty"`
	// Version - The version of the identity which will be used to access key vault.
	Version *string `json:"version,omitempty"`
}

KeyProperties url and version of the KeyVault Secret

type KeyVaultProperties

type KeyVaultProperties struct {
	// ID - Uri of KeyVault
	ID *string `json:"id,omitempty"`
	// Key - Identity of the secret that includes name and version.
	Key *KeyProperties `json:"key,omitempty"`
	// Status - The state of onboarding, which only appears in the response. Possible values include: 'Enabled', 'Disabled', 'NotConfigured'
	Status Status `json:"status,omitempty"`
}

KeyVaultProperties settings concerning key vault encryption for a configuration store.

type Operation

type Operation struct {
	// Name - Operation name: For ex. providers/Microsoft.PowerPlatform/enterprisePolicies/write or read
	Name *string `json:"name,omitempty"`
	// IsDataAction - Indicates whether the operation is a data action
	IsDataAction *string `json:"isDataAction,omitempty"`
	// Display - Provider, Resource, Operation and description values.
	Display *OperationDisplay `json:"display,omitempty"`
	// OperationProperties - Provider, Resource, Operation and description values.
	*OperationProperties `json:"properties,omitempty"`
}

Operation powerPlatform REST API operation

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.PowerPlatform
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description about operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay provider, Resource, Operation and description values.

type OperationList

type OperationList struct {
	autorest.Response `json:"-"`
	// Value - List of PowerPlatform operations supported by the PowerPlatform resource provider.
	Value *[]Operation `json:"value,omitempty"`
}

OperationList the response model for the list of PowerPlatform operations

type OperationProperties

type OperationProperties struct {
	// StatusCode - Service provider: Microsoft.PowerPlatform
	StatusCode *string `json:"statusCode,omitempty"`
}

OperationProperties provider, Resource, Operation and description values.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Powerplatform service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationList, err error)

List lists all of the available PowerPlatform REST API operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - READ-ONLY; The ARM identifier for Private Endpoint
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnection a private endpoint connection

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private endpoint connections
	Value *[]PrivateEndpointConnection `json:"value,omitempty"`
}

PrivateEndpointConnectionListResult a list of private endpoint connections

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
	ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

const (
	// Creating ...
	Creating PrivateEndpointConnectionProvisioningState = "Creating"
	// Deleting ...
	Deleting PrivateEndpointConnectionProvisioningState = "Deleting"
	// Failed ...
	Failed PrivateEndpointConnectionProvisioningState = "Failed"
	// Succeeded ...
	Succeeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the client for the PrivateEndpointConnections methods of the Powerplatform service.

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) CreateOrUpdate

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, enterprisePolicyName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate approve or reject a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription. privateEndpointConnectionName - the name of the private endpoint connection. parameters - parameters supplied to create or update a private endpoint connection.

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, enterprisePolicyName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes a private endpoint connection with a given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string, privateEndpointConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, enterprisePolicyName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get gets a private endpoint connection. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string, privateEndpointConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) ListByEnterprisePolicy

func (client PrivateEndpointConnectionsClient) ListByEnterprisePolicy(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (result PrivateEndpointConnectionListResult, err error)

ListByEnterprisePolicy list all private endpoint connections on an EnterprisePolicy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription.

func (PrivateEndpointConnectionsClient) ListByEnterprisePolicyPreparer

func (client PrivateEndpointConnectionsClient) ListByEnterprisePolicyPreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (*http.Request, error)

ListByEnterprisePolicyPreparer prepares the ListByEnterprisePolicy request.

func (PrivateEndpointConnectionsClient) ListByEnterprisePolicyResponder

func (client PrivateEndpointConnectionsClient) ListByEnterprisePolicyResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListByEnterprisePolicyResponder handles the response to the ListByEnterprisePolicy request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByEnterprisePolicySender

func (client PrivateEndpointConnectionsClient) ListByEnterprisePolicySender(req *http.Request) (*http.Response, error)

ListByEnterprisePolicySender sends the ListByEnterprisePolicy request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointConnectionsCreateOrUpdateFuture

type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PrivateEndpointConnectionsClient) (PrivateEndpointConnection, error)
}

PrivateEndpointConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointConnectionsDeleteFuture

type PrivateEndpointConnectionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PrivateEndpointConnectionsClient) (autorest.Response, error)
}

PrivateEndpointConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON

func (future *PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

const (
	// Approved ...
	Approved PrivateEndpointServiceConnectionStatus = "Approved"
	// Pending ...
	Pending PrivateEndpointServiceConnectionStatus = "Pending"
	// Rejected ...
	Rejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

type PrivateLinkResource struct {
	autorest.Response `json:"-"`
	// PrivateLinkResourceProperties - Resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource a private link resource

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private link resources
	Value *[]PrivateLinkResource `json:"value,omitempty"`
}

PrivateLinkResourceListResult a list of private link resources

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; The private link resource required member names.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// SystemData - Metadata for the private link resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the client for the PrivateLinkResources methods of the Powerplatform service.

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, enterprisePolicyName string, groupName string) (result PrivateLinkResource, err error)

Get gets the private link resources that need to be created for an EnterprisePolicy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription. groupName - the name of the private link resource.

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string, groupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) ListByEnterprisePolicy

func (client PrivateLinkResourcesClient) ListByEnterprisePolicy(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (result PrivateLinkResourceListResult, err error)

ListByEnterprisePolicy gets the private link resources that need to be created for enterprisePolicy. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription.

func (PrivateLinkResourcesClient) ListByEnterprisePolicyPreparer

func (client PrivateLinkResourcesClient) ListByEnterprisePolicyPreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (*http.Request, error)

ListByEnterprisePolicyPreparer prepares the ListByEnterprisePolicy request.

func (PrivateLinkResourcesClient) ListByEnterprisePolicyResponder

func (client PrivateLinkResourcesClient) ListByEnterprisePolicyResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListByEnterprisePolicyResponder handles the response to the ListByEnterprisePolicy request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByEnterprisePolicySender

func (client PrivateLinkResourcesClient) ListByEnterprisePolicySender(req *http.Request) (*http.Response, error)

ListByEnterprisePolicySender sends the ListByEnterprisePolicy request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'Pending', 'Approved', 'Rejected'
	Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
	// Description - The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type Properties

type Properties struct {
	// Lockbox - Settings concerning lockbox.
	Lockbox *PropertiesLockbox `json:"lockbox,omitempty"`
	// Encryption - The encryption settings for a configuration store.
	Encryption *PropertiesEncryption `json:"encryption,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

Properties the properties that define configuration for the enterprise policy.

type PropertiesEncryption

type PropertiesEncryption struct {
	// KeyVaultProperties - Key vault properties.
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
}

PropertiesEncryption the encryption settings for a configuration store.

type PropertiesLockbox

type PropertiesLockbox struct {
	// Status - lockbox configuration. Possible values include: 'Enabled', 'Disabled', 'NotConfigured'
	Status Status `json:"status,omitempty"`
}

PropertiesLockbox settings concerning lockbox.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

ProxyResource ARM proxy resource.

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type Resource

type Resource struct {
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Resource the core properties of ARM resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// None ...
	None ResourceIdentityType = "None"
	// SystemAssigned ...
	SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type Status

type Status string

Status enumerates the values for status.

const (
	// Disabled ...
	Disabled Status = "Disabled"
	// Enabled ...
	Enabled Status = "Enabled"
	// NotConfigured ...
	NotConfigured Status = "NotConfigured"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type Subnet

type Subnet struct {
	autorest.Response `json:"-"`
	// SubnetProperties - Resource properties.
	*SubnetProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

Subnet a subnet

func (Subnet) MarshalJSON

func (s Subnet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Subnet.

func (*Subnet) UnmarshalJSON

func (s *Subnet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Subnet struct.

type SubnetEndpointProperty

type SubnetEndpointProperty struct {
	// ID - Resource id of the subnet.
	ID *string `json:"id,omitempty"`
}

SubnetEndpointProperty endpoint of the subnet.

type SubnetListResult

type SubnetListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of subnets
	Value *[]Subnet `json:"value,omitempty"`
}

SubnetListResult a list of subnets

type SubnetProperties

type SubnetProperties struct {
	// Subnet - Endpoint of the subnet.
	Subnet *SubnetEndpointProperty `json:"subnet,omitempty"`
	// Status - Connection State of the subnet. Possible values include: 'Enabled', 'Disabled', 'NotConfigured'
	Status Status `json:"status,omitempty"`
	// SystemData - Metadata for the subnet.
	SystemData *SystemData `json:"systemData,omitempty"`
}

SubnetProperties properties of a subnet.

type SubnetsClient

type SubnetsClient struct {
	BaseClient
}

SubnetsClient is the client for the Subnets methods of the Powerplatform service.

func NewSubnetsClient

func NewSubnetsClient(subscriptionID string) SubnetsClient

NewSubnetsClient creates an instance of the SubnetsClient client.

func NewSubnetsClientWithBaseURI

func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient

NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SubnetsClient) CreateOrUpdate

func (client SubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, enterprisePolicyName string, subnetName string) (result Subnet, err error)

CreateOrUpdate description of the Subnet that PowerPlatform resources can access. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription. subnetName - the name of the subnet.

func (SubnetsClient) CreateOrUpdatePreparer

func (client SubnetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string, subnetName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SubnetsClient) CreateOrUpdateResponder

func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result Subnet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SubnetsClient) CreateOrUpdateSender

func (client SubnetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SubnetsClient) Get

func (client SubnetsClient) Get(ctx context.Context, resourceGroupName string, enterprisePolicyName string, subnetName string) (result Subnet, err error)

Get description of Subnets that are authorized for outbound calls from PowerPlatform. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription. subnetName - the name of the subnet.

func (SubnetsClient) GetPreparer

func (client SubnetsClient) GetPreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string, subnetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SubnetsClient) GetResponder

func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SubnetsClient) GetSender

func (client SubnetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SubnetsClient) ListByEnterprisePolicy

func (client SubnetsClient) ListByEnterprisePolicy(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (result SubnetListResult, err error)

ListByEnterprisePolicy retrieve a list of subnets within a given enterprisePolicy Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. enterprisePolicyName - enterprisePolicy for the Microsoft Azure subscription.

func (SubnetsClient) ListByEnterprisePolicyPreparer

func (client SubnetsClient) ListByEnterprisePolicyPreparer(ctx context.Context, resourceGroupName string, enterprisePolicyName string) (*http.Request, error)

ListByEnterprisePolicyPreparer prepares the ListByEnterprisePolicy request.

func (SubnetsClient) ListByEnterprisePolicyResponder

func (client SubnetsClient) ListByEnterprisePolicyResponder(resp *http.Response) (result SubnetListResult, err error)

ListByEnterprisePolicyResponder handles the response to the ListByEnterprisePolicy request. The method always closes the http.Response Body.

func (SubnetsClient) ListByEnterprisePolicySender

func (client SubnetsClient) ListByEnterprisePolicySender(req *http.Request) (*http.Response, error)

ListByEnterprisePolicySender sends the ListByEnterprisePolicy request. The method will close the http.Response Body if it receives an error.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The type of identity that last modified the resource.
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - READ-ONLY; ARM resource id of the EnterprisePolicy.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the EnterprisePolicy.
	Name *string `json:"name,omitempty"`
	// Location - READ-ONLY; Region where the EnterprisePolicy is located.
	Location *string `json:"location,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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