Documentation ¶
Index ¶
- Constants
- type ActionType
- type ClientFactory
- type CreatedByType
- type DaprPubSubBrokerProperties
- type DaprPubSubBrokerResource
- type DaprPubSubBrokerResourceListResult
- type DaprPubSubBrokerResourceUpdate
- type DaprPubSubBrokerResourceUpdateProperties
- type DaprSecretStoreProperties
- type DaprSecretStoreResource
- type DaprSecretStoreResourceListResult
- type DaprSecretStoreResourceUpdate
- type DaprSecretStoreResourceUpdateProperties
- type DaprStateStoreProperties
- type DaprStateStoreResource
- type DaprStateStoreResourceListResult
- type DaprStateStoreResourceUpdate
- type DaprStateStoreResourceUpdateProperties
- type EnvironmentCompute
- type EnvironmentComputeClassification
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type IdentitySettingKind
- type IdentitySettings
- type KubernetesCompute
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type Origin
- type OutputResource
- type ProvisioningState
- type PubSubBrokersClient
- func (client *PubSubBrokersClient) BeginCreateOrUpdate(ctx context.Context, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientCreateOrUpdateResponse], error)
- func (client *PubSubBrokersClient) BeginDelete(ctx context.Context, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientDeleteResponse], error)
- func (client *PubSubBrokersClient) BeginUpdate(ctx context.Context, pubSubBrokerName string, ...) (*runtime.Poller[PubSubBrokersClientUpdateResponse], error)
- func (client *PubSubBrokersClient) Get(ctx context.Context, pubSubBrokerName string, ...) (PubSubBrokersClientGetResponse, error)
- func (client *PubSubBrokersClient) NewListByScopePager(options *PubSubBrokersClientListByScopeOptions) *runtime.Pager[PubSubBrokersClientListByScopeResponse]
- type PubSubBrokersClientBeginCreateOrUpdateOptions
- type PubSubBrokersClientBeginDeleteOptions
- type PubSubBrokersClientBeginUpdateOptions
- type PubSubBrokersClientCreateOrUpdateResponse
- type PubSubBrokersClientDeleteResponse
- type PubSubBrokersClientGetOptions
- type PubSubBrokersClientGetResponse
- type PubSubBrokersClientListByScopeOptions
- type PubSubBrokersClientListByScopeResponse
- type PubSubBrokersClientUpdateResponse
- type Recipe
- type RecipeStatus
- type RecipeUpdate
- type Resource
- type ResourceProvisioning
- type ResourceReference
- type ResourceStatus
- type SecretStoresClient
- func (client *SecretStoresClient) BeginCreateOrUpdate(ctx context.Context, secretStoreName string, resource DaprSecretStoreResource, ...) (*runtime.Poller[SecretStoresClientCreateOrUpdateResponse], error)
- func (client *SecretStoresClient) BeginDelete(ctx context.Context, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientDeleteResponse], error)
- func (client *SecretStoresClient) BeginUpdate(ctx context.Context, secretStoreName string, ...) (*runtime.Poller[SecretStoresClientUpdateResponse], error)
- func (client *SecretStoresClient) Get(ctx context.Context, secretStoreName string, ...) (SecretStoresClientGetResponse, error)
- func (client *SecretStoresClient) NewListByScopePager(options *SecretStoresClientListByScopeOptions) *runtime.Pager[SecretStoresClientListByScopeResponse]
- type SecretStoresClientBeginCreateOrUpdateOptions
- type SecretStoresClientBeginDeleteOptions
- type SecretStoresClientBeginUpdateOptions
- type SecretStoresClientCreateOrUpdateResponse
- type SecretStoresClientDeleteResponse
- type SecretStoresClientGetOptions
- type SecretStoresClientGetResponse
- type SecretStoresClientListByScopeOptions
- type SecretStoresClientListByScopeResponse
- type SecretStoresClientUpdateResponse
- type StateStoresClient
- func (client *StateStoresClient) BeginCreateOrUpdate(ctx context.Context, stateStoreName string, resource DaprStateStoreResource, ...) (*runtime.Poller[StateStoresClientCreateOrUpdateResponse], error)
- func (client *StateStoresClient) BeginDelete(ctx context.Context, stateStoreName string, ...) (*runtime.Poller[StateStoresClientDeleteResponse], error)
- func (client *StateStoresClient) BeginUpdate(ctx context.Context, stateStoreName string, ...) (*runtime.Poller[StateStoresClientUpdateResponse], error)
- func (client *StateStoresClient) Get(ctx context.Context, stateStoreName string, ...) (StateStoresClientGetResponse, error)
- func (client *StateStoresClient) NewListByScopePager(options *StateStoresClientListByScopeOptions) *runtime.Pager[StateStoresClientListByScopeResponse]
- type StateStoresClientBeginCreateOrUpdateOptions
- type StateStoresClientBeginDeleteOptions
- type StateStoresClientBeginUpdateOptions
- type StateStoresClientCreateOrUpdateResponse
- type StateStoresClientDeleteResponse
- type StateStoresClientGetOptions
- type StateStoresClientGetResponse
- type StateStoresClientListByScopeOptions
- type StateStoresClientListByScopeResponse
- type StateStoresClientUpdateResponse
- type SystemData
- type TrackedResource
- type Versions
Constants ¶
const Version = "2023-10-01-preview"
Version represents the api version in this package.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType string
ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
const (
ActionTypeInternal ActionType = "Internal"
)
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns the possible values for the ActionType const type.
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.
func NewClientFactory ¶
func NewClientFactory(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)
NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ClientFactory) NewOperationsClient ¶
func (c *ClientFactory) NewOperationsClient() *OperationsClient
func (*ClientFactory) NewPubSubBrokersClient ¶
func (c *ClientFactory) NewPubSubBrokersClient() *PubSubBrokersClient
func (*ClientFactory) NewSecretStoresClient ¶
func (c *ClientFactory) NewSecretStoresClient() *SecretStoresClient
func (*ClientFactory) NewStateStoresClient ¶
func (c *ClientFactory) NewStateStoresClient() *StateStoresClient
type CreatedByType ¶
type CreatedByType string
CreatedByType - The type of identity that created the resource.
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
type DaprPubSubBrokerProperties ¶
type DaprPubSubBrokerProperties struct { // REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to Environment *string // Fully qualified resource ID for the application that the portable resource is consumed by (if applicable) Application *string // The metadata for Dapr resource which must match the values specified in Dapr component spec Metadata map[string]any // The recipe used to automatically deploy underlying infrastructure for the resource Recipe *Recipe // Specifies how the underlying service/resource is provisioned and managed. ResourceProvisioning *ResourceProvisioning // A collection of references to resources associated with the pubSubBroker Resources []*ResourceReference // Dapr component type which must matches the format used by Dapr Kubernetes configuration format Type *string // Dapr component version Version *string // READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to // use the Dapr component. ComponentName *string // READ-ONLY; The status of the asynchronous operation. ProvisioningState *ProvisioningState // READ-ONLY; Status of a resource. Status *ResourceStatus }
DaprPubSubBrokerProperties - Dapr PubSubBroker portable resource properties
func (DaprPubSubBrokerProperties) MarshalJSON ¶
func (d DaprPubSubBrokerProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerProperties.
func (*DaprPubSubBrokerProperties) UnmarshalJSON ¶
func (d *DaprPubSubBrokerProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerProperties.
type DaprPubSubBrokerResource ¶
type DaprPubSubBrokerResource struct { // REQUIRED; The geo-location where the resource lives Location *string // REQUIRED; The resource-specific properties for this resource. Properties *DaprPubSubBrokerProperties // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
DaprPubSubBrokerResource - Dapr PubSubBroker portable resource
func (*DaprPubSubBrokerResource) ConvertFrom ¶
func (dst *DaprPubSubBrokerResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts from version-agnostic datamodel to the versioned DaprPubSubBroker resource. If the DataModelInterface is not of the correct type, an error is returned.
func (*DaprPubSubBrokerResource) ConvertTo ¶
func (src *DaprPubSubBrokerResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts a versioned DaprPubSubBrokerResource to a version-agnostic DaprPubSubBroker. It returns an error if the mode is not specified or if the required properties for the mode are not specified.
func (DaprPubSubBrokerResource) MarshalJSON ¶
func (d DaprPubSubBrokerResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResource.
func (*DaprPubSubBrokerResource) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResource.
type DaprPubSubBrokerResourceListResult ¶
type DaprPubSubBrokerResourceListResult struct { // REQUIRED; The DaprPubSubBrokerResource items on this page Value []*DaprPubSubBrokerResource // The link to the next page of items NextLink *string }
DaprPubSubBrokerResourceListResult - The response of a DaprPubSubBrokerResource list operation.
func (DaprPubSubBrokerResourceListResult) MarshalJSON ¶
func (d DaprPubSubBrokerResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResourceListResult.
func (*DaprPubSubBrokerResourceListResult) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResourceListResult.
type DaprPubSubBrokerResourceUpdate ¶
type DaprPubSubBrokerResourceUpdate struct { // The updatable properties of the DaprPubSubBrokerResource. Properties *DaprPubSubBrokerResourceUpdateProperties // Resource tags. Tags map[string]*string }
DaprPubSubBrokerResourceUpdate - The type used for update operations of the DaprPubSubBrokerResource.
func (DaprPubSubBrokerResourceUpdate) MarshalJSON ¶
func (d DaprPubSubBrokerResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResourceUpdate.
func (*DaprPubSubBrokerResourceUpdate) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResourceUpdate.
type DaprPubSubBrokerResourceUpdateProperties ¶
type DaprPubSubBrokerResourceUpdateProperties struct { // Fully qualified resource ID for the application that the portable resource is consumed by (if applicable) Application *string // Fully qualified resource ID for the environment that the portable resource is linked to Environment *string // The metadata for Dapr resource which must match the values specified in Dapr component spec Metadata map[string]any // The recipe used to automatically deploy underlying infrastructure for the resource Recipe *RecipeUpdate // Specifies how the underlying service/resource is provisioned and managed. ResourceProvisioning *ResourceProvisioning // A collection of references to resources associated with the pubSubBroker Resources []*ResourceReference // Dapr component type which must matches the format used by Dapr Kubernetes configuration format Type *string // Dapr component version Version *string }
DaprPubSubBrokerResourceUpdateProperties - The updatable properties of the DaprPubSubBrokerResource.
func (DaprPubSubBrokerResourceUpdateProperties) MarshalJSON ¶
func (d DaprPubSubBrokerResourceUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprPubSubBrokerResourceUpdateProperties.
func (*DaprPubSubBrokerResourceUpdateProperties) UnmarshalJSON ¶
func (d *DaprPubSubBrokerResourceUpdateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprPubSubBrokerResourceUpdateProperties.
type DaprSecretStoreProperties ¶
type DaprSecretStoreProperties struct { // REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to Environment *string // Fully qualified resource ID for the application that the portable resource is consumed by (if applicable) Application *string // The metadata for Dapr resource which must match the values specified in Dapr component spec Metadata map[string]any // The recipe used to automatically deploy underlying infrastructure for the resource Recipe *Recipe // Specifies how the underlying service/resource is provisioned and managed. ResourceProvisioning *ResourceProvisioning // Dapr component type which must matches the format used by Dapr Kubernetes configuration format Type *string // Dapr component version Version *string // READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to // use the Dapr component. ComponentName *string // READ-ONLY; The status of the asynchronous operation. ProvisioningState *ProvisioningState // READ-ONLY; Status of a resource. Status *ResourceStatus }
DaprSecretStoreProperties - Dapr SecretStore portable resource properties
func (DaprSecretStoreProperties) MarshalJSON ¶
func (d DaprSecretStoreProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreProperties.
func (*DaprSecretStoreProperties) UnmarshalJSON ¶
func (d *DaprSecretStoreProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreProperties.
type DaprSecretStoreResource ¶
type DaprSecretStoreResource struct { // REQUIRED; The geo-location where the resource lives Location *string // REQUIRED; The resource-specific properties for this resource. Properties *DaprSecretStoreProperties // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
DaprSecretStoreResource - Dapr SecretStore portable resource
func (*DaprSecretStoreResource) ConvertFrom ¶
func (dst *DaprSecretStoreResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts a version-agnostic DataModelInterface to a versionined DaprSecretStoreResource. It returns an error if the mode is unsupported or required properties are missing.
func (*DaprSecretStoreResource) ConvertTo ¶
func (src *DaprSecretStoreResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts from the versioned DaprSecretStore resource to version-agnostic datamodel and returns an error if the resourceProvisioning is set to manual and the required fields are not specified.
func (DaprSecretStoreResource) MarshalJSON ¶
func (d DaprSecretStoreResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResource.
func (*DaprSecretStoreResource) UnmarshalJSON ¶
func (d *DaprSecretStoreResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResource.
type DaprSecretStoreResourceListResult ¶
type DaprSecretStoreResourceListResult struct { // REQUIRED; The DaprSecretStoreResource items on this page Value []*DaprSecretStoreResource // The link to the next page of items NextLink *string }
DaprSecretStoreResourceListResult - The response of a DaprSecretStoreResource list operation.
func (DaprSecretStoreResourceListResult) MarshalJSON ¶
func (d DaprSecretStoreResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResourceListResult.
func (*DaprSecretStoreResourceListResult) UnmarshalJSON ¶
func (d *DaprSecretStoreResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResourceListResult.
type DaprSecretStoreResourceUpdate ¶
type DaprSecretStoreResourceUpdate struct { // The updatable properties of the DaprSecretStoreResource. Properties *DaprSecretStoreResourceUpdateProperties // Resource tags. Tags map[string]*string }
DaprSecretStoreResourceUpdate - The type used for update operations of the DaprSecretStoreResource.
func (DaprSecretStoreResourceUpdate) MarshalJSON ¶
func (d DaprSecretStoreResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResourceUpdate.
func (*DaprSecretStoreResourceUpdate) UnmarshalJSON ¶
func (d *DaprSecretStoreResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResourceUpdate.
type DaprSecretStoreResourceUpdateProperties ¶
type DaprSecretStoreResourceUpdateProperties struct { // Fully qualified resource ID for the application that the portable resource is consumed by (if applicable) Application *string // Fully qualified resource ID for the environment that the portable resource is linked to Environment *string // The metadata for Dapr resource which must match the values specified in Dapr component spec Metadata map[string]any // The recipe used to automatically deploy underlying infrastructure for the resource Recipe *RecipeUpdate // Specifies how the underlying service/resource is provisioned and managed. ResourceProvisioning *ResourceProvisioning // Dapr component type which must matches the format used by Dapr Kubernetes configuration format Type *string // Dapr component version Version *string }
DaprSecretStoreResourceUpdateProperties - The updatable properties of the DaprSecretStoreResource.
func (DaprSecretStoreResourceUpdateProperties) MarshalJSON ¶
func (d DaprSecretStoreResourceUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprSecretStoreResourceUpdateProperties.
func (*DaprSecretStoreResourceUpdateProperties) UnmarshalJSON ¶
func (d *DaprSecretStoreResourceUpdateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprSecretStoreResourceUpdateProperties.
type DaprStateStoreProperties ¶
type DaprStateStoreProperties struct { // REQUIRED; Fully qualified resource ID for the environment that the portable resource is linked to Environment *string // Fully qualified resource ID for the application that the portable resource is consumed by (if applicable) Application *string // The metadata for Dapr resource which must match the values specified in Dapr component spec Metadata map[string]any // The recipe used to automatically deploy underlying infrastructure for the resource Recipe *Recipe // Specifies how the underlying service/resource is provisioned and managed. ResourceProvisioning *ResourceProvisioning // A collection of references to resources associated with the state store Resources []*ResourceReference // Dapr component type which must matches the format used by Dapr Kubernetes configuration format Type *string // Dapr component version Version *string // READ-ONLY; The name of the Dapr component object. Use this value in your code when interacting with the Dapr client to // use the Dapr component. ComponentName *string // READ-ONLY; The status of the asynchronous operation. ProvisioningState *ProvisioningState // READ-ONLY; Status of a resource. Status *ResourceStatus }
DaprStateStoreProperties - Dapr StateStore portable resource properties
func (DaprStateStoreProperties) MarshalJSON ¶
func (d DaprStateStoreProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreProperties.
func (*DaprStateStoreProperties) UnmarshalJSON ¶
func (d *DaprStateStoreProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreProperties.
type DaprStateStoreResource ¶
type DaprStateStoreResource struct { // REQUIRED; The geo-location where the resource lives Location *string // REQUIRED; The resource-specific properties for this resource. Properties *DaprStateStoreProperties // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
DaprStateStoreResource - Dapr StateStore portable resource
func (*DaprStateStoreResource) ConvertFrom ¶
func (dst *DaprStateStoreResource) ConvertFrom(src v1.DataModelInterface) error
ConvertFrom converts a version-agnostic DataModelInterface to a versioned DaprStateStoreResource and returns an error if the conversion fails or the mode of the DaprStateStore is not specified.
func (*DaprStateStoreResource) ConvertTo ¶
func (src *DaprStateStoreResource) ConvertTo() (v1.DataModelInterface, error)
ConvertTo converts from the versioned DaprStateStore resource to version-agnostic datamodel and returns an error if the resourceProvisioning is set to manual and the required fields are not specified.
func (DaprStateStoreResource) MarshalJSON ¶
func (d DaprStateStoreResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResource.
func (*DaprStateStoreResource) UnmarshalJSON ¶
func (d *DaprStateStoreResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResource.
type DaprStateStoreResourceListResult ¶
type DaprStateStoreResourceListResult struct { // REQUIRED; The DaprStateStoreResource items on this page Value []*DaprStateStoreResource // The link to the next page of items NextLink *string }
DaprStateStoreResourceListResult - The response of a DaprStateStoreResource list operation.
func (DaprStateStoreResourceListResult) MarshalJSON ¶
func (d DaprStateStoreResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResourceListResult.
func (*DaprStateStoreResourceListResult) UnmarshalJSON ¶
func (d *DaprStateStoreResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResourceListResult.
type DaprStateStoreResourceUpdate ¶
type DaprStateStoreResourceUpdate struct { // The updatable properties of the DaprStateStoreResource. Properties *DaprStateStoreResourceUpdateProperties // Resource tags. Tags map[string]*string }
DaprStateStoreResourceUpdate - The type used for update operations of the DaprStateStoreResource.
func (DaprStateStoreResourceUpdate) MarshalJSON ¶
func (d DaprStateStoreResourceUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResourceUpdate.
func (*DaprStateStoreResourceUpdate) UnmarshalJSON ¶
func (d *DaprStateStoreResourceUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResourceUpdate.
type DaprStateStoreResourceUpdateProperties ¶
type DaprStateStoreResourceUpdateProperties struct { // Fully qualified resource ID for the application that the portable resource is consumed by (if applicable) Application *string // Fully qualified resource ID for the environment that the portable resource is linked to Environment *string // The metadata for Dapr resource which must match the values specified in Dapr component spec Metadata map[string]any // The recipe used to automatically deploy underlying infrastructure for the resource Recipe *RecipeUpdate // Specifies how the underlying service/resource is provisioned and managed. ResourceProvisioning *ResourceProvisioning // A collection of references to resources associated with the state store Resources []*ResourceReference // Dapr component type which must matches the format used by Dapr Kubernetes configuration format Type *string // Dapr component version Version *string }
DaprStateStoreResourceUpdateProperties - The updatable properties of the DaprStateStoreResource.
func (DaprStateStoreResourceUpdateProperties) MarshalJSON ¶
func (d DaprStateStoreResourceUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DaprStateStoreResourceUpdateProperties.
func (*DaprStateStoreResourceUpdateProperties) UnmarshalJSON ¶
func (d *DaprStateStoreResourceUpdateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DaprStateStoreResourceUpdateProperties.
type EnvironmentCompute ¶
type EnvironmentCompute struct { // REQUIRED; Discriminator property for EnvironmentCompute. Kind *string // Configuration for supported external identity providers Identity *IdentitySettings // The resource id of the compute resource for application environment. ResourceID *string }
EnvironmentCompute - Represents backing compute resource
func (*EnvironmentCompute) GetEnvironmentCompute ¶
func (e *EnvironmentCompute) GetEnvironmentCompute() *EnvironmentCompute
GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type EnvironmentCompute.
func (EnvironmentCompute) MarshalJSON ¶
func (e EnvironmentCompute) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EnvironmentCompute.
func (*EnvironmentCompute) UnmarshalJSON ¶
func (e *EnvironmentCompute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EnvironmentCompute.
type EnvironmentComputeClassification ¶
type EnvironmentComputeClassification interface { // GetEnvironmentCompute returns the EnvironmentCompute content of the underlying type. GetEnvironmentCompute() *EnvironmentCompute }
EnvironmentComputeClassification provides polymorphic access to related types. Call the interface's GetEnvironmentCompute() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *EnvironmentCompute, *KubernetesCompute
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. Info map[string]any // READ-ONLY; The additional info type. Type *string }
ErrorAdditionalInfo - The resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo.
func (*ErrorAdditionalInfo) UnmarshalJSON ¶
func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct { // READ-ONLY; The error additional info. AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. Code *string // READ-ONLY; The error details. Details []*ErrorDetail // READ-ONLY; The error message. Message *string // READ-ONLY; The error target. Target *string }
ErrorDetail - The error detail.
func (ErrorDetail) MarshalJSON ¶
func (e ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorDetail.
func (*ErrorDetail) UnmarshalJSON ¶
func (e *ErrorDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // The error object. Error *ErrorDetail }
ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
func (ErrorResponse) MarshalJSON ¶
func (e ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponse.
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.
type IdentitySettingKind ¶
type IdentitySettingKind string
IdentitySettingKind - IdentitySettingKind is the kind of supported external identity setting
const ( // IdentitySettingKindAzureComWorkload - azure ad workload identity IdentitySettingKindAzureComWorkload IdentitySettingKind = "azure.com.workload" // IdentitySettingKindUndefined - undefined identity IdentitySettingKindUndefined IdentitySettingKind = "undefined" )
func PossibleIdentitySettingKindValues ¶
func PossibleIdentitySettingKindValues() []IdentitySettingKind
PossibleIdentitySettingKindValues returns the possible values for the IdentitySettingKind const type.
type IdentitySettings ¶
type IdentitySettings struct { // REQUIRED; kind of identity setting Kind *IdentitySettingKind // The URI for your compute platform's OIDC issuer OidcIssuer *string // The resource ID of the provisioned identity Resource *string }
IdentitySettings is the external identity setting.
func (IdentitySettings) MarshalJSON ¶
func (i IdentitySettings) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IdentitySettings.
func (*IdentitySettings) UnmarshalJSON ¶
func (i *IdentitySettings) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type IdentitySettings.
type KubernetesCompute ¶
type KubernetesCompute struct { // REQUIRED; Discriminator property for EnvironmentCompute. Kind *string // REQUIRED; The namespace to use for the environment. Namespace *string // Configuration for supported external identity providers Identity *IdentitySettings // The resource id of the compute resource for application environment. ResourceID *string }
KubernetesCompute - The Kubernetes compute configuration
func (*KubernetesCompute) GetEnvironmentCompute ¶
func (k *KubernetesCompute) GetEnvironmentCompute() *EnvironmentCompute
GetEnvironmentCompute implements the EnvironmentComputeClassification interface for type KubernetesCompute.
func (KubernetesCompute) MarshalJSON ¶
func (k KubernetesCompute) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type KubernetesCompute.
func (*KubernetesCompute) UnmarshalJSON ¶
func (k *KubernetesCompute) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type KubernetesCompute.
type Operation ¶
type Operation struct { // Localized display information for this particular operation. Display *OperationDisplay // READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. ActionType *ActionType // READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane // operations. IsDataAction *bool // READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", // "Microsoft.Compute/virtualMachines/capture/action" Name *string // READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default // value is "user,system" Origin *Origin }
Operation - Details of a REST API operation, returned from the Resource Provider Operations API
func (Operation) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Operation.
type OperationDisplay ¶
type OperationDisplay struct { // READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views. Description *string // READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual // Machine", "Restart Virtual Machine". Operation *string // READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft // Compute". Provider *string // READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job // Schedule Collections". Resource *string }
OperationDisplay - Localized display information for this particular operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationDisplay.
func (*OperationDisplay) UnmarshalJSON ¶
func (o *OperationDisplay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { // READ-ONLY; URL to get the next set of operation list results (if there are any). NextLink *string // READ-ONLY; List of operations supported by the resource provider Value []*Operation }
OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
func (*OperationListResult) UnmarshalJSON ¶
func (o *OperationListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - List the operations for the provider
Generated from API version 2023-10-01-preview
- options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListOptions ¶
type OperationsClientListOptions struct { }
OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListResponse ¶
type OperationsClientListResponse struct { // A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. OperationListResult }
OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
type Origin ¶
type Origin string
Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
func PossibleOriginValues ¶
func PossibleOriginValues() []Origin
PossibleOriginValues returns the possible values for the Origin const type.
type OutputResource ¶
type OutputResource struct { // The UCP resource ID of the underlying resource. ID *string // The logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency // relationship. LocalIDs do not have any particular format or meaning beyond // being compared to determine dependency relationships. LocalID *string // Determines whether Radius manages the lifecycle of the underlying resource. RadiusManaged *bool }
OutputResource - Properties of an output resource.
func (OutputResource) MarshalJSON ¶
func (o OutputResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OutputResource.
func (*OutputResource) UnmarshalJSON ¶
func (o *OutputResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OutputResource.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - Provisioning state of the resource at the time the operation was called
const ( // ProvisioningStateAccepted - The resource create request has been accepted ProvisioningStateAccepted ProvisioningState = "Accepted" // ProvisioningStateCanceled - Resource creation was canceled. ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateDeleting - The resource is being deleted ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed - Resource creation failed. ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateProvisioning - The resource is being provisioned ProvisioningStateProvisioning ProvisioningState = "Provisioning" // ProvisioningStateSucceeded - Resource has been created. ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating - The resource is updating ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
type PubSubBrokersClient ¶
type PubSubBrokersClient struct {
// contains filtered or unexported fields
}
PubSubBrokersClient contains the methods for the PubSubBrokers group. Don't use this type directly, use NewPubSubBrokersClient() instead.
func NewPubSubBrokersClient ¶
func NewPubSubBrokersClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*PubSubBrokersClient, error)
NewPubSubBrokersClient creates a new instance of PubSubBrokersClient with the specified values.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*PubSubBrokersClient) BeginCreateOrUpdate ¶
func (client *PubSubBrokersClient) BeginCreateOrUpdate(ctx context.Context, pubSubBrokerName string, resource DaprPubSubBrokerResource, options *PubSubBrokersClientBeginCreateOrUpdateOptions) (*runtime.Poller[PubSubBrokersClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- pubSubBrokerName - PubSubBroker name
- resource - Resource create parameters.
- options - PubSubBrokersClientBeginCreateOrUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginCreateOrUpdate method.
func (*PubSubBrokersClient) BeginDelete ¶
func (client *PubSubBrokersClient) BeginDelete(ctx context.Context, pubSubBrokerName string, options *PubSubBrokersClientBeginDeleteOptions) (*runtime.Poller[PubSubBrokersClientDeleteResponse], error)
BeginDelete - Delete a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- pubSubBrokerName - PubSubBroker name
- options - PubSubBrokersClientBeginDeleteOptions contains the optional parameters for the PubSubBrokersClient.BeginDelete method.
func (*PubSubBrokersClient) BeginUpdate ¶
func (client *PubSubBrokersClient) BeginUpdate(ctx context.Context, pubSubBrokerName string, properties DaprPubSubBrokerResourceUpdate, options *PubSubBrokersClientBeginUpdateOptions) (*runtime.Poller[PubSubBrokersClientUpdateResponse], error)
BeginUpdate - Update a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- pubSubBrokerName - PubSubBroker name
- properties - The resource properties to be updated.
- options - PubSubBrokersClientBeginUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginUpdate method.
func (*PubSubBrokersClient) Get ¶
func (client *PubSubBrokersClient) Get(ctx context.Context, pubSubBrokerName string, options *PubSubBrokersClientGetOptions) (PubSubBrokersClientGetResponse, error)
Get - Get a DaprPubSubBrokerResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- pubSubBrokerName - PubSubBroker name
- options - PubSubBrokersClientGetOptions contains the optional parameters for the PubSubBrokersClient.Get method.
func (*PubSubBrokersClient) NewListByScopePager ¶
func (client *PubSubBrokersClient) NewListByScopePager(options *PubSubBrokersClientListByScopeOptions) *runtime.Pager[PubSubBrokersClientListByScopeResponse]
NewListByScopePager - List DaprPubSubBrokerResource resources by Scope
Generated from API version 2023-10-01-preview
- options - PubSubBrokersClientListByScopeOptions contains the optional parameters for the PubSubBrokersClient.NewListByScopePager method.
type PubSubBrokersClientBeginCreateOrUpdateOptions ¶
type PubSubBrokersClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
PubSubBrokersClientBeginCreateOrUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginCreateOrUpdate method.
type PubSubBrokersClientBeginDeleteOptions ¶
type PubSubBrokersClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
PubSubBrokersClientBeginDeleteOptions contains the optional parameters for the PubSubBrokersClient.BeginDelete method.
type PubSubBrokersClientBeginUpdateOptions ¶
type PubSubBrokersClientBeginUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
PubSubBrokersClientBeginUpdateOptions contains the optional parameters for the PubSubBrokersClient.BeginUpdate method.
type PubSubBrokersClientCreateOrUpdateResponse ¶
type PubSubBrokersClientCreateOrUpdateResponse struct { // Dapr PubSubBroker portable resource DaprPubSubBrokerResource }
PubSubBrokersClientCreateOrUpdateResponse contains the response from method PubSubBrokersClient.BeginCreateOrUpdate.
type PubSubBrokersClientDeleteResponse ¶
type PubSubBrokersClientDeleteResponse struct { }
PubSubBrokersClientDeleteResponse contains the response from method PubSubBrokersClient.BeginDelete.
type PubSubBrokersClientGetOptions ¶
type PubSubBrokersClientGetOptions struct { }
PubSubBrokersClientGetOptions contains the optional parameters for the PubSubBrokersClient.Get method.
type PubSubBrokersClientGetResponse ¶
type PubSubBrokersClientGetResponse struct { // Dapr PubSubBroker portable resource DaprPubSubBrokerResource }
PubSubBrokersClientGetResponse contains the response from method PubSubBrokersClient.Get.
type PubSubBrokersClientListByScopeOptions ¶
type PubSubBrokersClientListByScopeOptions struct { }
PubSubBrokersClientListByScopeOptions contains the optional parameters for the PubSubBrokersClient.NewListByScopePager method.
type PubSubBrokersClientListByScopeResponse ¶
type PubSubBrokersClientListByScopeResponse struct { // The response of a DaprPubSubBrokerResource list operation. DaprPubSubBrokerResourceListResult }
PubSubBrokersClientListByScopeResponse contains the response from method PubSubBrokersClient.NewListByScopePager.
type PubSubBrokersClientUpdateResponse ¶
type PubSubBrokersClientUpdateResponse struct { // Dapr PubSubBroker portable resource DaprPubSubBrokerResource }
PubSubBrokersClientUpdateResponse contains the response from method PubSubBrokersClient.BeginUpdate.
type Recipe ¶
type Recipe struct { // REQUIRED; The name of the recipe within the environment to use Name *string // Key/value parameters to pass into the recipe at deployment Parameters map[string]any }
Recipe - The recipe used to automatically deploy underlying infrastructure for a portable resource
func (Recipe) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Recipe.
func (*Recipe) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Recipe.
type RecipeStatus ¶ added in v0.27.0
type RecipeStatus struct { // REQUIRED; TemplateKind is the kind of the recipe template used by the portable resource upon deployment. TemplateKind *string // REQUIRED; TemplatePath is the path of the recipe consumed by the portable resource upon deployment. TemplatePath *string // TemplateVersion is the version number of the template. TemplateVersion *string }
RecipeStatus - Recipe status at deployment time for a resource.
func (RecipeStatus) MarshalJSON ¶ added in v0.27.0
func (r RecipeStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RecipeStatus.
func (*RecipeStatus) UnmarshalJSON ¶ added in v0.27.0
func (r *RecipeStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RecipeStatus.
type RecipeUpdate ¶
type RecipeUpdate struct { // The name of the recipe within the environment to use Name *string // Key/value parameters to pass into the recipe at deployment Parameters map[string]any }
RecipeUpdate - The recipe used to automatically deploy underlying infrastructure for a portable resource
func (RecipeUpdate) MarshalJSON ¶
func (r RecipeUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RecipeUpdate.
func (*RecipeUpdate) UnmarshalJSON ¶
func (r *RecipeUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RecipeUpdate.
type Resource ¶
type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
Resource - Common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Resource.
type ResourceProvisioning ¶
type ResourceProvisioning string
ResourceProvisioning - Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values.
const ( // ResourceProvisioningManual - The resource lifecycle will be managed by the user ResourceProvisioningManual ResourceProvisioning = "manual" // ResourceProvisioningRecipe - The resource lifecycle will be managed by Radius ResourceProvisioningRecipe ResourceProvisioning = "recipe" )
func PossibleResourceProvisioningValues ¶
func PossibleResourceProvisioningValues() []ResourceProvisioning
PossibleResourceProvisioningValues returns the possible values for the ResourceProvisioning const type.
type ResourceReference ¶
type ResourceReference struct { // REQUIRED; Resource id of an existing resource ID *string }
ResourceReference - Describes a reference to an existing resource
func (ResourceReference) MarshalJSON ¶
func (r ResourceReference) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceReference.
func (*ResourceReference) UnmarshalJSON ¶
func (r *ResourceReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceReference.
type ResourceStatus ¶
type ResourceStatus struct { // The compute resource associated with the resource. Compute EnvironmentComputeClassification // Properties of an output resource OutputResources []*OutputResource // READ-ONLY; The recipe data at the time of deployment Recipe *RecipeStatus }
ResourceStatus - Status of a resource.
func (ResourceStatus) MarshalJSON ¶
func (r ResourceStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceStatus.
func (*ResourceStatus) UnmarshalJSON ¶
func (r *ResourceStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceStatus.
type SecretStoresClient ¶
type SecretStoresClient struct {
// contains filtered or unexported fields
}
SecretStoresClient contains the methods for the SecretStores group. Don't use this type directly, use NewSecretStoresClient() instead.
func NewSecretStoresClient ¶
func NewSecretStoresClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SecretStoresClient, error)
NewSecretStoresClient creates a new instance of SecretStoresClient with the specified values.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*SecretStoresClient) BeginCreateOrUpdate ¶
func (client *SecretStoresClient) BeginCreateOrUpdate(ctx context.Context, secretStoreName string, resource DaprSecretStoreResource, options *SecretStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[SecretStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- secretStoreName - SecretStore name
- resource - Resource create parameters.
- options - SecretStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the SecretStoresClient.BeginCreateOrUpdate method.
func (*SecretStoresClient) BeginDelete ¶
func (client *SecretStoresClient) BeginDelete(ctx context.Context, secretStoreName string, options *SecretStoresClientBeginDeleteOptions) (*runtime.Poller[SecretStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- secretStoreName - SecretStore name
- options - SecretStoresClientBeginDeleteOptions contains the optional parameters for the SecretStoresClient.BeginDelete method.
func (*SecretStoresClient) BeginUpdate ¶
func (client *SecretStoresClient) BeginUpdate(ctx context.Context, secretStoreName string, properties DaprSecretStoreResourceUpdate, options *SecretStoresClientBeginUpdateOptions) (*runtime.Poller[SecretStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- secretStoreName - SecretStore name
- properties - The resource properties to be updated.
- options - SecretStoresClientBeginUpdateOptions contains the optional parameters for the SecretStoresClient.BeginUpdate method.
func (*SecretStoresClient) Get ¶
func (client *SecretStoresClient) Get(ctx context.Context, secretStoreName string, options *SecretStoresClientGetOptions) (SecretStoresClientGetResponse, error)
Get - Get a DaprSecretStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- secretStoreName - SecretStore name
- options - SecretStoresClientGetOptions contains the optional parameters for the SecretStoresClient.Get method.
func (*SecretStoresClient) NewListByScopePager ¶
func (client *SecretStoresClient) NewListByScopePager(options *SecretStoresClientListByScopeOptions) *runtime.Pager[SecretStoresClientListByScopeResponse]
NewListByScopePager - List DaprSecretStoreResource resources by Scope
Generated from API version 2023-10-01-preview
- options - SecretStoresClientListByScopeOptions contains the optional parameters for the SecretStoresClient.NewListByScopePager method.
type SecretStoresClientBeginCreateOrUpdateOptions ¶
type SecretStoresClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
SecretStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the SecretStoresClient.BeginCreateOrUpdate method.
type SecretStoresClientBeginDeleteOptions ¶
type SecretStoresClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
SecretStoresClientBeginDeleteOptions contains the optional parameters for the SecretStoresClient.BeginDelete method.
type SecretStoresClientBeginUpdateOptions ¶
type SecretStoresClientBeginUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
SecretStoresClientBeginUpdateOptions contains the optional parameters for the SecretStoresClient.BeginUpdate method.
type SecretStoresClientCreateOrUpdateResponse ¶
type SecretStoresClientCreateOrUpdateResponse struct { // Dapr SecretStore portable resource DaprSecretStoreResource }
SecretStoresClientCreateOrUpdateResponse contains the response from method SecretStoresClient.BeginCreateOrUpdate.
type SecretStoresClientDeleteResponse ¶
type SecretStoresClientDeleteResponse struct { }
SecretStoresClientDeleteResponse contains the response from method SecretStoresClient.BeginDelete.
type SecretStoresClientGetOptions ¶
type SecretStoresClientGetOptions struct { }
SecretStoresClientGetOptions contains the optional parameters for the SecretStoresClient.Get method.
type SecretStoresClientGetResponse ¶
type SecretStoresClientGetResponse struct { // Dapr SecretStore portable resource DaprSecretStoreResource }
SecretStoresClientGetResponse contains the response from method SecretStoresClient.Get.
type SecretStoresClientListByScopeOptions ¶
type SecretStoresClientListByScopeOptions struct { }
SecretStoresClientListByScopeOptions contains the optional parameters for the SecretStoresClient.NewListByScopePager method.
type SecretStoresClientListByScopeResponse ¶
type SecretStoresClientListByScopeResponse struct { // The response of a DaprSecretStoreResource list operation. DaprSecretStoreResourceListResult }
SecretStoresClientListByScopeResponse contains the response from method SecretStoresClient.NewListByScopePager.
type SecretStoresClientUpdateResponse ¶
type SecretStoresClientUpdateResponse struct { // Dapr SecretStore portable resource DaprSecretStoreResource }
SecretStoresClientUpdateResponse contains the response from method SecretStoresClient.BeginUpdate.
type StateStoresClient ¶
type StateStoresClient struct {
// contains filtered or unexported fields
}
StateStoresClient contains the methods for the StateStores group. Don't use this type directly, use NewStateStoresClient() instead.
func NewStateStoresClient ¶
func NewStateStoresClient(rootScope string, credential azcore.TokenCredential, options *arm.ClientOptions) (*StateStoresClient, error)
NewStateStoresClient creates a new instance of StateStoresClient with the specified values.
- rootScope - The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*StateStoresClient) BeginCreateOrUpdate ¶
func (client *StateStoresClient) BeginCreateOrUpdate(ctx context.Context, stateStoreName string, resource DaprStateStoreResource, options *StateStoresClientBeginCreateOrUpdateOptions) (*runtime.Poller[StateStoresClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- stateStoreName - StateStore name
- resource - Resource create parameters.
- options - StateStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the StateStoresClient.BeginCreateOrUpdate method.
func (*StateStoresClient) BeginDelete ¶
func (client *StateStoresClient) BeginDelete(ctx context.Context, stateStoreName string, options *StateStoresClientBeginDeleteOptions) (*runtime.Poller[StateStoresClientDeleteResponse], error)
BeginDelete - Delete a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- stateStoreName - StateStore name
- options - StateStoresClientBeginDeleteOptions contains the optional parameters for the StateStoresClient.BeginDelete method.
func (*StateStoresClient) BeginUpdate ¶
func (client *StateStoresClient) BeginUpdate(ctx context.Context, stateStoreName string, properties DaprStateStoreResourceUpdate, options *StateStoresClientBeginUpdateOptions) (*runtime.Poller[StateStoresClientUpdateResponse], error)
BeginUpdate - Update a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- stateStoreName - StateStore name
- properties - The resource properties to be updated.
- options - StateStoresClientBeginUpdateOptions contains the optional parameters for the StateStoresClient.BeginUpdate method.
func (*StateStoresClient) Get ¶
func (client *StateStoresClient) Get(ctx context.Context, stateStoreName string, options *StateStoresClientGetOptions) (StateStoresClientGetResponse, error)
Get - Get a DaprStateStoreResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2023-10-01-preview
- stateStoreName - StateStore name
- options - StateStoresClientGetOptions contains the optional parameters for the StateStoresClient.Get method.
func (*StateStoresClient) NewListByScopePager ¶
func (client *StateStoresClient) NewListByScopePager(options *StateStoresClientListByScopeOptions) *runtime.Pager[StateStoresClientListByScopeResponse]
NewListByScopePager - List DaprStateStoreResource resources by Scope
Generated from API version 2023-10-01-preview
- options - StateStoresClientListByScopeOptions contains the optional parameters for the StateStoresClient.NewListByScopePager method.
type StateStoresClientBeginCreateOrUpdateOptions ¶
type StateStoresClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
StateStoresClientBeginCreateOrUpdateOptions contains the optional parameters for the StateStoresClient.BeginCreateOrUpdate method.
type StateStoresClientBeginDeleteOptions ¶
type StateStoresClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
StateStoresClientBeginDeleteOptions contains the optional parameters for the StateStoresClient.BeginDelete method.
type StateStoresClientBeginUpdateOptions ¶
type StateStoresClientBeginUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
StateStoresClientBeginUpdateOptions contains the optional parameters for the StateStoresClient.BeginUpdate method.
type StateStoresClientCreateOrUpdateResponse ¶
type StateStoresClientCreateOrUpdateResponse struct { // Dapr StateStore portable resource DaprStateStoreResource }
StateStoresClientCreateOrUpdateResponse contains the response from method StateStoresClient.BeginCreateOrUpdate.
type StateStoresClientDeleteResponse ¶
type StateStoresClientDeleteResponse struct { }
StateStoresClientDeleteResponse contains the response from method StateStoresClient.BeginDelete.
type StateStoresClientGetOptions ¶
type StateStoresClientGetOptions struct { }
StateStoresClientGetOptions contains the optional parameters for the StateStoresClient.Get method.
type StateStoresClientGetResponse ¶
type StateStoresClientGetResponse struct { // Dapr StateStore portable resource DaprStateStoreResource }
StateStoresClientGetResponse contains the response from method StateStoresClient.Get.
type StateStoresClientListByScopeOptions ¶
type StateStoresClientListByScopeOptions struct { }
StateStoresClientListByScopeOptions contains the optional parameters for the StateStoresClient.NewListByScopePager method.
type StateStoresClientListByScopeResponse ¶
type StateStoresClientListByScopeResponse struct { // The response of a DaprStateStoreResource list operation. DaprStateStoreResourceListResult }
StateStoresClientListByScopeResponse contains the response from method StateStoresClient.NewListByScopePager.
type StateStoresClientUpdateResponse ¶
type StateStoresClientUpdateResponse struct { // Dapr StateStore portable resource DaprStateStoreResource }
StateStoresClientUpdateResponse contains the response from method StateStoresClient.BeginUpdate.
type SystemData ¶
type SystemData struct { // The timestamp of resource creation (UTC). CreatedAt *time.Time // The identity that created the resource. CreatedBy *string // The type of identity that created the resource. CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) LastModifiedAt *time.Time // The identity that last modified the resource. LastModifiedBy *string // The type of identity that last modified the resource. LastModifiedByType *CreatedByType }
SystemData - Metadata pertaining to creation and last modification of the resource.
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type TrackedResource ¶
type TrackedResource struct { // REQUIRED; The geo-location where the resource lives Location *string // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.
func (*TrackedResource) UnmarshalJSON ¶
func (t *TrackedResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TrackedResource.
type Versions ¶
type Versions string
Versions - Supported API versions for the Applications.Dapr resource provider.
const ( // VersionsV20231001Preview - 2023-10-01-preview VersionsV20231001Preview Versions = "2023-10-01-preview" )
func PossibleVersionsValues ¶
func PossibleVersionsValues() []Versions
PossibleVersionsValues returns the possible values for the Versions const type.
Source Files ¶
- datamodel_util.go
- pubsubbroker_conversion.go
- secretstore_conversion.go
- statestore_conversion.go
- version.go
- zz_generated_client_factory.go
- zz_generated_constants.go
- zz_generated_interfaces.go
- zz_generated_models.go
- zz_generated_models_serde.go
- zz_generated_operations_client.go
- zz_generated_options.go
- zz_generated_polymorphic_helpers.go
- zz_generated_pubsubbrokers_client.go
- zz_generated_response_types.go
- zz_generated_secretstores_client.go
- zz_generated_statestores_client.go
- zz_generated_time_rfc3339.go