Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions src/App/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Disable-AzContainerAppRevision.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Enable-AzContainerAppRevision.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerAppAuthConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerAppManagedEnv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerAppManagedEnvCert.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerAppManagedEnvDapr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerAppManagedEnvStorage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Get-AzContainerAppRevision.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
14 changes: 7 additions & 7 deletions src/App/docs/New-AzContainerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IRegistryCredentials[]>: Collection of private container registry credentials for containers used by the Container app
`CONFIGURATIONREGISTRY <IRegistryCredentials[]>`: Collection of private container registry credentials for containers used by the Container app
- `[Identity <String>]`: 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 <String>]`: The name of the Secret that contains the registry login password
- `[Server <String>]`: Container Registry Server
- `[Username <String>]`: Container Registry Username

CONFIGURATIONSECRET <ISecret[]>: Collection of secrets used by a Container app
`CONFIGURATIONSECRET <ISecret[]>`: Collection of secrets used by a Container app
- `[Name <String>]`: Secret Name.
- `[Value <String>]`: Secret Value.

INGRESSCUSTOMDOMAIN <ICustomDomain[]>: custom domain bindings for Container Apps' hostnames.
`INGRESSCUSTOMDOMAIN <ICustomDomain[]>`: custom domain bindings for Container Apps' hostnames.
- `CertificateId <String>`: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- `Name <String>`: Hostname.
- `[BindingType <BindingType?>]`: Custom Domain binding type.

INGRESSTRAFFIC <ITrafficWeight[]>: Traffic weights for app's revisions
`INGRESSTRAFFIC <ITrafficWeight[]>`: Traffic weights for app's revisions
- `[Label <String>]`: Associates a traffic label with a revision
- `[LatestRevision <Boolean?>]`: Indicates that the traffic weight belongs to a latest stable revision
- `[RevisionName <String>]`: Name of a revision
- `[Weight <Int32?>]`: Traffic weight assigned to a revision

SCALERULE <IScaleRule[]>: Scaling rules.
`SCALERULE <IScaleRule[]>`: Scaling rules.
- `[AzureQueueAuth <IScaleRuleAuth[]>]`: Authentication secrets for the queue scale rule.
- `[SecretRef <String>]`: Name of the Container App secret from which to pull the auth params.
- `[TriggerParameter <String>]`: Trigger Parameter that uses the secret
Expand All @@ -607,7 +607,7 @@ SCALERULE <IScaleRule[]>: Scaling rules.
- `[(Any) <String>]`: This indicates any property can be added to this object.
- `[Name <String>]`: Scale Rule Name

TEMPLATECONTAINER <IContainer[]>: List of container definitions for the Container App.
`TEMPLATECONTAINER <IContainer[]>`: List of container definitions for the Container App.
- `[Arg <String[]>]`: Container start command arguments.
- `[Command <String[]>]`: Container start command.
- `[Env <IEnvironmentVar[]>]`: Container environment variables.
Expand Down Expand Up @@ -639,7 +639,7 @@ TEMPLATECONTAINER <IContainer[]>: List of container definitions for the Containe
- `[MountPath <String>]`: Path within the container at which the volume should be mounted.Must not contain ':'.
- `[VolumeName <String>]`: This must match the Name of a Volume.

TEMPLATEVOLUME <IVolume[]>: List of volume definitions for the Container App.
`TEMPLATEVOLUME <IVolume[]>`: List of volume definitions for the Container App.
- `[Name <String>]`: Volume name.
- `[StorageName <String>]`: Name of storage resource. No need to provide for EmptyDir.
- `[StorageType <StorageType?>]`: Storage type for the volume. If not provided, use EmptyDir.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/New-AzContainerAppAuthConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IIdentityProviders>: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
`IDENTITYPROVIDER <IIdentityProviders>`: The configuration settings of each of the identity providers used to configure ContainerApp Service Authentication/Authorization.
- `[AllowedPrincipalGroup <String[]>]`: The list of the allowed groups.
- `[AllowedPrincipalIdentity <String[]>]`: The list of the allowed identities.
- `[AppleEnabled <Boolean?>]`: <code>false</code> if the Apple provider should not be enabled despite the set registration; otherwise, <code>true</code>.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/New-AzContainerAppIdentityProviderObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IIdentityProvidersCustomOpenIdConnectProviders>: 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 <IIdentityProvidersCustomOpenIdConnectProviders>`: 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) <ICustomOpenIdConnectProvider>]`: This indicates any property can be added to this object.

## RELATED LINKS
Expand Down
4 changes: 2 additions & 2 deletions src/App/docs/New-AzContainerAppManagedEnvDapr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IDaprMetadata[]>: Component metadata
`METADATA <IDaprMetadata[]>`: Component metadata
- `[Name <String>]`: Metadata property name.
- `[SecretRef <String>]`: Name of the Dapr Component secret from which to pull the metadata property value.
- `[Value <String>]`: Metadata property value.

SECRET <ISecret[]>: Collection of secrets used by a Dapr component
`SECRET <ISecret[]>`: Collection of secrets used by a Dapr component
- `[Name <String>]`: Secret Name.
- `[Value <String>]`: Secret Value.

Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/New-AzContainerAppProbeObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IContainerAppProbeHttpGetHttpHeadersItem[]>: Custom headers to set in the request. HTTP allows repeated headers.
`HTTPGETHTTPHEADER <IContainerAppProbeHttpGetHttpHeadersItem[]>`: Custom headers to set in the request. HTTP allows repeated headers.
- `Name <String>`: The header field name
- `Value <String>`: The header field value

Expand Down
10 changes: 5 additions & 5 deletions src/App/docs/New-AzContainerAppScaleRuleObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IScaleRuleAuth[]>: Authentication secrets for the queue scale rule.
`AZUREQUEUEAUTH <IScaleRuleAuth[]>`: Authentication secrets for the queue scale rule.
- `[SecretRef <String>]`: Name of the Container App secret from which to pull the auth params.
- `[TriggerParameter <String>]`: Trigger Parameter that uses the secret

CUSTOMAUTH <IScaleRuleAuth[]>: Authentication secrets for the custom scale rule.
`CUSTOMAUTH <IScaleRuleAuth[]>`: Authentication secrets for the custom scale rule.
- `[SecretRef <String>]`: Name of the Container App secret from which to pull the auth params.
- `[TriggerParameter <String>]`: Trigger Parameter that uses the secret

CUSTOMMETADATA <ICustomScaleRuleMetadata>: Metadata properties to describe custom scale rule.
`CUSTOMMETADATA <ICustomScaleRuleMetadata>`: Metadata properties to describe custom scale rule.
- `[(Any) <String>]`: This indicates any property can be added to this object.

HTTPAUTH <IScaleRuleAuth[]>: Authentication secrets for the custom scale rule.
`HTTPAUTH <IScaleRuleAuth[]>`: Authentication secrets for the custom scale rule.
- `[SecretRef <String>]`: Name of the Container App secret from which to pull the auth params.
- `[TriggerParameter <String>]`: Trigger Parameter that uses the secret

HTTPMETADATA <IHttpScaleRuleMetadata>: Metadata properties to describe http scale rule.
`HTTPMETADATA <IHttpScaleRuleMetadata>`: Metadata properties to describe http scale rule.
- `[(Any) <String>]`: This indicates any property can be added to this object.

## RELATED LINKS
Expand Down
6 changes: 3 additions & 3 deletions src/App/docs/New-AzContainerAppTemplateObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IEnvironmentVar[]>: Container environment variables.
`ENV <IEnvironmentVar[]>`: Container environment variables.
- `[Name <String>]`: Environment variable name.
- `[SecretRef <String>]`: Name of the Container App secret from which to pull the environment variable value.
- `[Value <String>]`: Non-secret environment variable value.

PROBE <IContainerAppProbe[]>: List of probes for the container.
`PROBE <IContainerAppProbe[]>`: List of probes for the container.
- `[FailureThreshold <Int32?>]`: 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 <String>]`: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
- `[HttpGetHttpHeader <IContainerAppProbeHttpGetHttpHeadersItem[]>]`: Custom headers to set in the request. HTTP allows repeated headers.
Expand All @@ -219,7 +219,7 @@ PROBE <IContainerAppProbe[]>: List of probes for the container.
- `[TimeoutSecond <Int32?>]`: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
- `[Type <Type?>]`: The type of probe.

VOLUMEMOUNT <IVolumeMount[]>: Container volume mounts.
`VOLUMEMOUNT <IVolumeMount[]>`: Container volume mounts.
- `[MountPath <String>]`: Path within the container at which the volume should be mounted.Must not contain ':'.
- `[VolumeName <String>]`: This must match the Name of a Volume.

Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Remove-AzContainerApp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Remove-AzContainerAppAuthConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Remove-AzContainerAppManagedEnv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Remove-AzContainerAppManagedEnvCert.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Remove-AzContainerAppManagedEnvDapr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Remove-AzContainerAppManagedEnvStorage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
2 changes: 1 addition & 1 deletion src/App/docs/Restart-AzContainerAppRevision.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IAppIdentity>: Identity Parameter
`INPUTOBJECT <IAppIdentity>`: Identity Parameter
- `[AuthConfigName <String>]`: Name of the Container App AuthConfig.
- `[CertificateName <String>]`: Name of the Certificate.
- `[ComponentName <String>]`: Name of the Dapr Component.
Expand Down
Loading