diff --git a/src/App/README.md b/src/App/README.md index 6d5272c522c9..446c690807c5 100644 --- a/src/App/README.md +++ b/src/App/README.md @@ -81,29 +81,6 @@ directive: } } } - # - from: swagger-document - # where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}"].patch.responses - # transform: >- - # return { - # "200": { - # "description": "Container App updated successfully.", - # "schema": { - # "$ref": "#/definitions/ManagedEnvironment" - # } - # }, - # "202": { - # "description": "Patch operation is in progress.", - # "schema": { - # "$ref": "#/definitions/ManagedEnvironment" - # } - # }, - # "default": { - # "description": "Common error response.", - # "schema": { - # "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/CommonDefinitions.json#/definitions/DefaultErrorResponse" - # } - # } - # } - from: swagger-document where: $.definitions.Certificate.properties.properties.properties.password transform: >- @@ -194,7 +171,7 @@ directive: subject: Volume set: subject: ContainerAppVolumeObject - # Re-name and custom it + # The following are commented out and their generated cmdlets may be renamed and custom logic # - model-cmdlet: # - EnvironmentVar # - ContainerAppProbe diff --git a/src/App/docs/Disable-AzContainerAppRevision.md b/src/App/docs/Disable-AzContainerAppRevision.md index f5d6f1fba4de..ed3f2ff47633 100644 --- a/src/App/docs/Disable-AzContainerAppRevision.md +++ b/src/App/docs/Disable-AzContainerAppRevision.md @@ -204,7 +204,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Enable-AzContainerAppRevision.md b/src/App/docs/Enable-AzContainerAppRevision.md index 7fd8b12533d7..88a9944512c7 100644 --- a/src/App/docs/Enable-AzContainerAppRevision.md +++ b/src/App/docs/Enable-AzContainerAppRevision.md @@ -204,7 +204,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerApp.md b/src/App/docs/Get-AzContainerApp.md index 2451c084d884..afb98e8e4466 100644 --- a/src/App/docs/Get-AzContainerApp.md +++ b/src/App/docs/Get-AzContainerApp.md @@ -193,7 +193,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerAppAuthConfig.md b/src/App/docs/Get-AzContainerAppAuthConfig.md index b015c02e518c..3b1b76bb8e0f 100644 --- a/src/App/docs/Get-AzContainerAppAuthConfig.md +++ b/src/App/docs/Get-AzContainerAppAuthConfig.md @@ -155,7 +155,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerAppManagedEnv.md b/src/App/docs/Get-AzContainerAppManagedEnv.md index 63e8ad66b744..54f6073b5c7a 100644 --- a/src/App/docs/Get-AzContainerAppManagedEnv.md +++ b/src/App/docs/Get-AzContainerAppManagedEnv.md @@ -178,7 +178,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerAppManagedEnvCert.md b/src/App/docs/Get-AzContainerAppManagedEnvCert.md index e05bc6039f5f..644524dcbc62 100644 --- a/src/App/docs/Get-AzContainerAppManagedEnvCert.md +++ b/src/App/docs/Get-AzContainerAppManagedEnvCert.md @@ -175,7 +175,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerAppManagedEnvDapr.md b/src/App/docs/Get-AzContainerAppManagedEnvDapr.md index 283ad90f0948..d900344bb100 100644 --- a/src/App/docs/Get-AzContainerAppManagedEnvDapr.md +++ b/src/App/docs/Get-AzContainerAppManagedEnvDapr.md @@ -175,7 +175,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerAppManagedEnvStorage.md b/src/App/docs/Get-AzContainerAppManagedEnvStorage.md index 3816e03c5304..1a2a249f70f5 100644 --- a/src/App/docs/Get-AzContainerAppManagedEnvStorage.md +++ b/src/App/docs/Get-AzContainerAppManagedEnvStorage.md @@ -175,7 +175,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Get-AzContainerAppRevision.md b/src/App/docs/Get-AzContainerAppRevision.md index f1ebe950a2ac..268e993805d0 100644 --- a/src/App/docs/Get-AzContainerAppRevision.md +++ b/src/App/docs/Get-AzContainerAppRevision.md @@ -189,7 +189,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/New-AzContainerApp.md b/src/App/docs/New-AzContainerApp.md index af717b8af04c..3e2d4af10652 100644 --- a/src/App/docs/New-AzContainerApp.md +++ b/src/App/docs/New-AzContainerApp.md @@ -571,28 +571,28 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -CONFIGURATIONREGISTRY : Collection of private container registry credentials for containers used by the Container app +`CONFIGURATIONREGISTRY `: Collection of private container registry credentials for containers used by the Container app - `[Identity ]`: A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system' - `[PasswordSecretRef ]`: The name of the Secret that contains the registry login password - `[Server ]`: Container Registry Server - `[Username ]`: Container Registry Username -CONFIGURATIONSECRET : Collection of secrets used by a Container app +`CONFIGURATIONSECRET `: Collection of secrets used by a Container app - `[Name ]`: Secret Name. - `[Value ]`: Secret Value. -INGRESSCUSTOMDOMAIN : custom domain bindings for Container Apps' hostnames. +`INGRESSCUSTOMDOMAIN `: custom domain bindings for Container Apps' hostnames. - `CertificateId `: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment. - `Name `: Hostname. - `[BindingType ]`: Custom Domain binding type. -INGRESSTRAFFIC : Traffic weights for app's revisions +`INGRESSTRAFFIC `: Traffic weights for app's revisions - `[Label ]`: Associates a traffic label with a revision - `[LatestRevision ]`: Indicates that the traffic weight belongs to a latest stable revision - `[RevisionName ]`: Name of a revision - `[Weight ]`: Traffic weight assigned to a revision -SCALERULE : Scaling rules. +`SCALERULE `: Scaling rules. - `[AzureQueueAuth ]`: Authentication secrets for the queue scale rule. - `[SecretRef ]`: Name of the Container App secret from which to pull the auth params. - `[TriggerParameter ]`: Trigger Parameter that uses the secret @@ -607,7 +607,7 @@ SCALERULE : Scaling rules. - `[(Any) ]`: This indicates any property can be added to this object. - `[Name ]`: Scale Rule Name -TEMPLATECONTAINER : List of container definitions for the Container App. +`TEMPLATECONTAINER `: List of container definitions for the Container App. - `[Arg ]`: Container start command arguments. - `[Command ]`: Container start command. - `[Env ]`: Container environment variables. @@ -639,7 +639,7 @@ TEMPLATECONTAINER : List of container definitions for the Containe - `[MountPath ]`: Path within the container at which the volume should be mounted.Must not contain ':'. - `[VolumeName ]`: This must match the Name of a Volume. -TEMPLATEVOLUME : List of volume definitions for the Container App. +`TEMPLATEVOLUME `: List of volume definitions for the Container App. - `[Name ]`: Volume name. - `[StorageName ]`: Name of storage resource. No need to provide for EmptyDir. - `[StorageType ]`: Storage type for the volume. If not provided, use EmptyDir. diff --git a/src/App/docs/New-AzContainerAppAuthConfig.md b/src/App/docs/New-AzContainerAppAuthConfig.md index 21860e61bf29..9d099bd36217 100644 --- a/src/App/docs/New-AzContainerAppAuthConfig.md +++ b/src/App/docs/New-AzContainerAppAuthConfig.md @@ -444,7 +444,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -IDENTITYPROVIDER : The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization. +`IDENTITYPROVIDER `: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization. - `[AllowedPrincipalGroup ]`: The list of the allowed groups. - `[AllowedPrincipalIdentity ]`: The list of the allowed identities. - `[AppleEnabled ]`: false if the Apple provider should not be enabled despite the set registration; otherwise, true. diff --git a/src/App/docs/New-AzContainerAppIdentityProviderObject.md b/src/App/docs/New-AzContainerAppIdentityProviderObject.md index c16dcbd2d079..9c55f967aa6d 100644 --- a/src/App/docs/New-AzContainerAppIdentityProviderObject.md +++ b/src/App/docs/New-AzContainerAppIdentityProviderObject.md @@ -702,7 +702,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -CUSTOMOPENIDCONNECTPROVIDER : The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider. +`CUSTOMOPENIDCONNECTPROVIDER `: The map of the name of the alias of each custom Open ID Connect provider to the configuration settings of the custom Open ID Connect provider. - `[(Any) ]`: This indicates any property can be added to this object. ## RELATED LINKS diff --git a/src/App/docs/New-AzContainerAppManagedEnvDapr.md b/src/App/docs/New-AzContainerAppManagedEnvDapr.md index 943a0b992d4c..8479b12ef6d7 100644 --- a/src/App/docs/New-AzContainerAppManagedEnvDapr.md +++ b/src/App/docs/New-AzContainerAppManagedEnvDapr.md @@ -275,12 +275,12 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -METADATA : Component metadata +`METADATA `: Component metadata - `[Name ]`: Metadata property name. - `[SecretRef ]`: Name of the Dapr Component secret from which to pull the metadata property value. - `[Value ]`: Metadata property value. -SECRET : Collection of secrets used by a Dapr component +`SECRET `: Collection of secrets used by a Dapr component - `[Name ]`: Secret Name. - `[Value ]`: Secret Value. diff --git a/src/App/docs/New-AzContainerAppProbeObject.md b/src/App/docs/New-AzContainerAppProbeObject.md index 8363ba71ead6..f6332e581d9d 100644 --- a/src/App/docs/New-AzContainerAppProbeObject.md +++ b/src/App/docs/New-AzContainerAppProbeObject.md @@ -299,7 +299,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -HTTPGETHTTPHEADER : Custom headers to set in the request. HTTP allows repeated headers. +`HTTPGETHTTPHEADER `: Custom headers to set in the request. HTTP allows repeated headers. - `Name `: The header field name - `Value `: The header field value diff --git a/src/App/docs/New-AzContainerAppScaleRuleObject.md b/src/App/docs/New-AzContainerAppScaleRuleObject.md index 523c7d1eb495..f148ba98b0c1 100644 --- a/src/App/docs/New-AzContainerAppScaleRuleObject.md +++ b/src/App/docs/New-AzContainerAppScaleRuleObject.md @@ -198,22 +198,22 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -AZUREQUEUEAUTH : Authentication secrets for the queue scale rule. +`AZUREQUEUEAUTH `: Authentication secrets for the queue scale rule. - `[SecretRef ]`: Name of the Container App secret from which to pull the auth params. - `[TriggerParameter ]`: Trigger Parameter that uses the secret -CUSTOMAUTH : Authentication secrets for the custom scale rule. +`CUSTOMAUTH `: Authentication secrets for the custom scale rule. - `[SecretRef ]`: Name of the Container App secret from which to pull the auth params. - `[TriggerParameter ]`: Trigger Parameter that uses the secret -CUSTOMMETADATA : Metadata properties to describe custom scale rule. +`CUSTOMMETADATA `: Metadata properties to describe custom scale rule. - `[(Any) ]`: This indicates any property can be added to this object. -HTTPAUTH : Authentication secrets for the custom scale rule. +`HTTPAUTH `: Authentication secrets for the custom scale rule. - `[SecretRef ]`: Name of the Container App secret from which to pull the auth params. - `[TriggerParameter ]`: Trigger Parameter that uses the secret -HTTPMETADATA : Metadata properties to describe http scale rule. +`HTTPMETADATA `: Metadata properties to describe http scale rule. - `[(Any) ]`: This indicates any property can be added to this object. ## RELATED LINKS diff --git a/src/App/docs/New-AzContainerAppTemplateObject.md b/src/App/docs/New-AzContainerAppTemplateObject.md index 3b7c0410d34f..77cf0d19af3f 100644 --- a/src/App/docs/New-AzContainerAppTemplateObject.md +++ b/src/App/docs/New-AzContainerAppTemplateObject.md @@ -196,12 +196,12 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -ENV : Container environment variables. +`ENV `: Container environment variables. - `[Name ]`: Environment variable name. - `[SecretRef ]`: Name of the Container App secret from which to pull the environment variable value. - `[Value ]`: Non-secret environment variable value. -PROBE : List of probes for the container. +`PROBE `: List of probes for the container. - `[FailureThreshold ]`: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10. - `[HttpGetHost ]`: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. - `[HttpGetHttpHeader ]`: Custom headers to set in the request. HTTP allows repeated headers. @@ -219,7 +219,7 @@ PROBE : List of probes for the container. - `[TimeoutSecond ]`: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240. - `[Type ]`: The type of probe. -VOLUMEMOUNT : Container volume mounts. +`VOLUMEMOUNT `: Container volume mounts. - `[MountPath ]`: Path within the container at which the volume should be mounted.Must not contain ':'. - `[VolumeName ]`: This must match the Name of a Volume. diff --git a/src/App/docs/Remove-AzContainerApp.md b/src/App/docs/Remove-AzContainerApp.md index 258aa6a4b1df..385c9dbc0347 100644 --- a/src/App/docs/Remove-AzContainerApp.md +++ b/src/App/docs/Remove-AzContainerApp.md @@ -218,7 +218,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Remove-AzContainerAppAuthConfig.md b/src/App/docs/Remove-AzContainerAppAuthConfig.md index 678cbb7682b4..597ef28fd6dc 100644 --- a/src/App/docs/Remove-AzContainerAppAuthConfig.md +++ b/src/App/docs/Remove-AzContainerAppAuthConfig.md @@ -204,7 +204,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Remove-AzContainerAppManagedEnv.md b/src/App/docs/Remove-AzContainerAppManagedEnv.md index 2a5be82fd323..6050207d1c64 100644 --- a/src/App/docs/Remove-AzContainerAppManagedEnv.md +++ b/src/App/docs/Remove-AzContainerAppManagedEnv.md @@ -218,7 +218,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Remove-AzContainerAppManagedEnvCert.md b/src/App/docs/Remove-AzContainerAppManagedEnvCert.md index 1e062ede3f88..5b34cef6c599 100644 --- a/src/App/docs/Remove-AzContainerAppManagedEnvCert.md +++ b/src/App/docs/Remove-AzContainerAppManagedEnvCert.md @@ -203,7 +203,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Remove-AzContainerAppManagedEnvDapr.md b/src/App/docs/Remove-AzContainerAppManagedEnvDapr.md index 1742de2cf657..af6e6d60cb73 100644 --- a/src/App/docs/Remove-AzContainerAppManagedEnvDapr.md +++ b/src/App/docs/Remove-AzContainerAppManagedEnvDapr.md @@ -203,7 +203,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Remove-AzContainerAppManagedEnvStorage.md b/src/App/docs/Remove-AzContainerAppManagedEnvStorage.md index b7fc0481f279..f51a8f7e2980 100644 --- a/src/App/docs/Remove-AzContainerAppManagedEnvStorage.md +++ b/src/App/docs/Remove-AzContainerAppManagedEnvStorage.md @@ -203,7 +203,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Restart-AzContainerAppRevision.md b/src/App/docs/Restart-AzContainerAppRevision.md index 45416fbc1b3e..12cf65c17c15 100644 --- a/src/App/docs/Restart-AzContainerAppRevision.md +++ b/src/App/docs/Restart-AzContainerAppRevision.md @@ -204,7 +204,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/docs/Update-AzContainerApp.md b/src/App/docs/Update-AzContainerApp.md index 3c11bb56761f..dfce670fa46d 100644 --- a/src/App/docs/Update-AzContainerApp.md +++ b/src/App/docs/Update-AzContainerApp.md @@ -47,7 +47,12 @@ Patches a Container App using JSON Merge Patch ### Example 1: Update a Container App. ```powershell -Update-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 +$secretObject = Get-AzContainerAppSecret -ContainerAppName azps-containerapp -ResourceGroupName azpstest_gp +$newSecretObject = @(0..($secretObject.Count-1)) +[array]::copy($secretObject,$newSecretObject,$secretObject.Count) +$secretObject += New-AzContainerAppSecretsecretObject -Name "yourkey" -Value "yourvalue" + +Update-AzContainerApp -ContainerAppName azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationSecret $secretObject -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 ``` ```output @@ -595,28 +600,28 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -CONFIGURATIONREGISTRY : Collection of private container registry credentials for containers used by the Container app +`CONFIGURATIONREGISTRY `: Collection of private container registry credentials for containers used by the Container app - `[Identity ]`: A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system' - `[PasswordSecretRef ]`: The name of the Secret that contains the registry login password - `[Server ]`: Container Registry Server - `[Username ]`: Container Registry Username -CONFIGURATIONSECRET : Collection of secrets used by a Container app +`CONFIGURATIONSECRET `: Collection of secrets used by a Container app - `[Name ]`: Secret Name. - `[Value ]`: Secret Value. -INGRESSCUSTOMDOMAIN : custom domain bindings for Container Apps' hostnames. +`INGRESSCUSTOMDOMAIN `: custom domain bindings for Container Apps' hostnames. - `CertificateId `: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment. - `Name `: Hostname. - `[BindingType ]`: Custom Domain binding type. -INGRESSTRAFFIC : Traffic weights for app's revisions +`INGRESSTRAFFIC `: Traffic weights for app's revisions - `[Label ]`: Associates a traffic label with a revision - `[LatestRevision ]`: Indicates that the traffic weight belongs to a latest stable revision - `[RevisionName ]`: Name of a revision - `[Weight ]`: Traffic weight assigned to a revision -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. @@ -630,7 +635,7 @@ INPUTOBJECT : Identity Parameter - `[StorageName ]`: Name of the storage. - `[SubscriptionId ]`: The ID of the target subscription. -SCALERULE : Scaling rules. +`SCALERULE `: Scaling rules. - `[AzureQueueAuth ]`: Authentication secrets for the queue scale rule. - `[SecretRef ]`: Name of the Container App secret from which to pull the auth params. - `[TriggerParameter ]`: Trigger Parameter that uses the secret @@ -645,7 +650,7 @@ SCALERULE : Scaling rules. - `[(Any) ]`: This indicates any property can be added to this object. - `[Name ]`: Scale Rule Name -TEMPLATECONTAINER : List of container definitions for the Container App. +`TEMPLATECONTAINER `: List of container definitions for the Container App. - `[Arg ]`: Container start command arguments. - `[Command ]`: Container start command. - `[Env ]`: Container environment variables. @@ -677,7 +682,7 @@ TEMPLATECONTAINER : List of container definitions for the Containe - `[MountPath ]`: Path within the container at which the volume should be mounted.Must not contain ':'. - `[VolumeName ]`: This must match the Name of a Volume. -TEMPLATEVOLUME : List of volume definitions for the Container App. +`TEMPLATEVOLUME `: List of volume definitions for the Container App. - `[Name ]`: Volume name. - `[StorageName ]`: Name of storage resource. No need to provide for EmptyDir. - `[StorageType ]`: Storage type for the volume. If not provided, use EmptyDir. diff --git a/src/App/docs/Update-AzContainerAppManagedEnvCert.md b/src/App/docs/Update-AzContainerAppManagedEnvCert.md index bcb7fac4656c..43c6d9faf0df 100644 --- a/src/App/docs/Update-AzContainerAppManagedEnvCert.md +++ b/src/App/docs/Update-AzContainerAppManagedEnvCert.md @@ -218,7 +218,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AuthConfigName ]`: Name of the Container App AuthConfig. - `[CertificateName ]`: Name of the Certificate. - `[ComponentName ]`: Name of the Dapr Component. diff --git a/src/App/examples/Update-AzContainerApp.md b/src/App/examples/Update-AzContainerApp.md index 5ff05581efb5..e4b3437d9c45 100644 --- a/src/App/examples/Update-AzContainerApp.md +++ b/src/App/examples/Update-AzContainerApp.md @@ -1,6 +1,11 @@ ### Example 1: Update a Container App. ```powershell -Update-AzContainerApp -Name azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 +$secretObject = Get-AzContainerAppSecret -ContainerAppName azps-containerapp -ResourceGroupName azpstest_gp +$newSecretObject = @(0..($secretObject.Count-1)) +[array]::copy($secretObject,$newSecretObject,$secretObject.Count) +$secretObject += New-AzContainerAppSecretsecretObject -Name "yourkey" -Value "yourvalue" + +Update-AzContainerApp -ContainerAppName azps-containerapp -ResourceGroupName azpstest_gp -Location canadacentral -ConfigurationSecret $secretObject -DaprEnabled -DaprAppProtocol 'http' -DaprAppId "container-app-1" -DaprAppPort 8080 ``` ```output