Documentation
¶
Overview ¶
Package resources contains utilities for azure sdk resource handling
Index ¶
- func CreateDeployment(ctx context.Context, deployClient resources.DeploymentsClient, ...) (de resources.DeploymentExtended, err error)
- func CreateDeploymentAtSubscriptionScope(ctx context.Context, deployClient resources.DeploymentsClient, ...) (de resources.DeploymentExtended, err error)
- func GetDeploymentsClient(subscriptionID string, authorizer autorest.Authorizer) resources.DeploymentsClient
- func ValidateDeployment(ctx context.Context, deployClient resources.DeploymentsClient, ...) (valid resources.DeploymentValidateResult, err error)
- func ValidateDeploymentAtSubscriptionScope(ctx context.Context, deployClient resources.DeploymentsClient, ...) (valid resources.DeploymentValidateResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeployment ¶
func CreateDeployment(ctx context.Context, deployClient resources.DeploymentsClient, resourceGroupName, deploymentName string, deploymentMode string, template, params map[string]interface{}) (de resources.DeploymentExtended, err error)
CreateDeployment creates a template deployment using the referenced JSON files for the template and its parameters
func CreateDeploymentAtSubscriptionScope ¶
func CreateDeploymentAtSubscriptionScope(ctx context.Context, deployClient resources.DeploymentsClient, deploymentName, deploymentMode string, template, params map[string]interface{}) (de resources.DeploymentExtended, err error)
CreateDeploymentAtSubscriptionScope creates a template deployment using the referenced JSON files for the template and its parameters (at subscription scope)
func GetDeploymentsClient ¶
func GetDeploymentsClient(subscriptionID string, authorizer autorest.Authorizer) resources.DeploymentsClient
GetDeploymentsClient takes the azure authorizer and creates an ARM deployments client on the desired subscription
func ValidateDeployment ¶
func ValidateDeployment(ctx context.Context, deployClient resources.DeploymentsClient, resourceGroupName, deploymentName string, deploymentMode string, template, params map[string]interface{}) (valid resources.DeploymentValidateResult, err error)
ValidateDeployment validates the template deployments and their parameters are correct and will produce a successful deployment.GetResource
func ValidateDeploymentAtSubscriptionScope ¶
func ValidateDeploymentAtSubscriptionScope(ctx context.Context, deployClient resources.DeploymentsClient, deploymentName string, deploymentMode string, template, params map[string]interface{}) (valid resources.DeploymentValidateResult, err error)
ValidateDeploymentAtSubscriptionScope validates the template deployments and their parameters are correct and will produce a successful deployment.GetResource (at subscription scope)
Types ¶
This section is empty.