code
stringlengths
26
870k
docstring
stringlengths
1
65.6k
func_name
stringlengths
1
194
language
stringclasses
1 value
repo
stringlengths
8
68
path
stringlengths
5
194
url
stringlengths
46
254
license
stringclasses
4 values
def __init__(self, *, value: List["AuthConfig"], **kwargs: Any) -> None: """ :keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.AuthConfig] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.AuthConfig]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, enabled: Optional[bool] = None, runtime_version: Optional[str] = None, **kwargs: Any) -> None: """ :keyword enabled: :code:`<code>true</code>` if the Authentication / Authorization feature is enabled for the current app; otherwise, :code:`<code>false</code>`. :paramtype enabled: bool :keyword runtime_version: The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module. :paramtype runtime_version: str """ super().__init__(**kwargs) self.enabled = enabled self.runtime_version = runtime_version
:keyword enabled: :code:`<code>true</code>` if the Authentication / Authorization feature is enabled for the current app; otherwise, :code:`<code>false</code>`. :paramtype enabled: bool :keyword runtime_version: The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module. :paramtype runtime_version: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, value: Optional[List["OperationDetail"]] = None, next_link: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword value: Collection of available operation details. :paramtype value: list[~azure.mgmt.appcontainers.models.OperationDetail] :keyword next_link: URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. :paramtype next_link: str """ super().__init__(**kwargs) self.value = value self.next_link = next_link
:keyword value: Collection of available operation details. :paramtype value: list[~azure.mgmt.appcontainers.models.OperationDetail] :keyword next_link: URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. :paramtype next_link: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: Optional[str] = None, properties: Optional["AvailableWorkloadProfileProperties"] = None, **kwargs: Any ) -> None: """ :keyword location: Region of the workload profile. :paramtype location: str :keyword properties: Revision resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.AvailableWorkloadProfileProperties """ super().__init__(**kwargs) self.location = location self.properties = properties
:keyword location: Region of the workload profile. :paramtype location: str :keyword properties: Revision resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.AvailableWorkloadProfileProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, category: Optional[str] = None, applicability: Optional[Union[str, "Applicability"]] = None, cores: Optional[int] = None, memory_gi_b: Optional[int] = None, gpus: Optional[int] = None, display_name: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword category: Used to categorize workload profiles. :paramtype category: str :keyword applicability: indicates whether the profile is default for the location. Known values are: "LocationDefault" and "Custom". :paramtype applicability: str or ~azure.mgmt.appcontainers.models.Applicability :keyword cores: Number of cores in CPU. :paramtype cores: int :keyword memory_gi_b: Memory in GiB. :paramtype memory_gi_b: int :keyword gpus: Number of GPUs. :paramtype gpus: int :keyword display_name: The everyday name of the workload profile. :paramtype display_name: str """ super().__init__(**kwargs) self.category = category self.applicability = applicability self.cores = cores self.memory_gi_b = memory_gi_b self.gpus = gpus self.display_name = display_name
:keyword category: Used to categorize workload profiles. :paramtype category: str :keyword applicability: indicates whether the profile is default for the location. Known values are: "LocationDefault" and "Custom". :paramtype applicability: str or ~azure.mgmt.appcontainers.models.Applicability :keyword cores: Number of cores in CPU. :paramtype cores: int :keyword memory_gi_b: Memory in GiB. :paramtype memory_gi_b: int :keyword gpus: Number of GPUs. :paramtype gpus: int :keyword display_name: The everyday name of the workload profile. :paramtype display_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["AvailableWorkloadProfile"], **kwargs: Any) -> None: """ :keyword value: Collection of workload profiles. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.AvailableWorkloadProfile] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of workload profiles. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.AvailableWorkloadProfile]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: Optional[bool] = None, registration: Optional["AzureActiveDirectoryRegistration"] = None, login: Optional["AzureActiveDirectoryLogin"] = None, validation: Optional["AzureActiveDirectoryValidation"] = None, is_auto_provisioned: Optional[bool] = None, **kwargs: Any ) -> None: """ :keyword enabled: :code:`<code>false</code>` if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the Azure Active Directory app registration. :paramtype registration: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryRegistration :keyword login: The configuration settings of the Azure Active Directory login flow. :paramtype login: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryLogin :keyword validation: The configuration settings of the Azure Active Directory token validation flow. :paramtype validation: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryValidation :keyword is_auto_provisioned: Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended to support the Azure Management Portal. Users should not read or write to this property. :paramtype is_auto_provisioned: bool """ super().__init__(**kwargs) self.enabled = enabled self.registration = registration self.login = login self.validation = validation self.is_auto_provisioned = is_auto_provisioned
:keyword enabled: :code:`<code>false</code>` if the Azure Active Directory provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the Azure Active Directory app registration. :paramtype registration: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryRegistration :keyword login: The configuration settings of the Azure Active Directory login flow. :paramtype login: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryLogin :keyword validation: The configuration settings of the Azure Active Directory token validation flow. :paramtype validation: ~azure.mgmt.appcontainers.models.AzureActiveDirectoryValidation :keyword is_auto_provisioned: Gets a value indicating whether the Azure AD configuration was auto-provisioned using 1st party tooling. This is an internal flag primarily intended to support the Azure Management Portal. Users should not read or write to this property. :paramtype is_auto_provisioned: bool
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, login_parameters: Optional[List[str]] = None, disable_www_authenticate: Optional[bool] = None, **kwargs: Any ) -> None: """ :keyword login_parameters: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value". :paramtype login_parameters: list[str] :keyword disable_www_authenticate: :code:`<code>true</code>` if the www-authenticate provider should be omitted from the request; otherwise, :code:`<code>false</code>`. :paramtype disable_www_authenticate: bool """ super().__init__(**kwargs) self.login_parameters = login_parameters self.disable_www_authenticate = disable_www_authenticate
:keyword login_parameters: Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value". :paramtype login_parameters: list[str] :keyword disable_www_authenticate: :code:`<code>true</code>` if the www-authenticate provider should be omitted from the request; otherwise, :code:`<code>false</code>`. :paramtype disable_www_authenticate: bool
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, open_id_issuer: Optional[str] = None, client_id: Optional[str] = None, client_secret_setting_name: Optional[str] = None, client_secret_certificate_thumbprint: Optional[str] = None, client_secret_certificate_subject_alternative_name: Optional[str] = None, client_secret_certificate_issuer: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword open_id_issuer: The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html. :paramtype open_id_issuer: str :keyword client_id: The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. :paramtype client_id: str :keyword client_secret_setting_name: The app setting name that contains the client secret of the relying party application. :paramtype client_secret_setting_name: str :keyword client_secret_certificate_thumbprint: An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional. :paramtype client_secret_certificate_thumbprint: str :keyword client_secret_certificate_subject_alternative_name: An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional. :paramtype client_secret_certificate_subject_alternative_name: str :keyword client_secret_certificate_issuer: An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional. :paramtype client_secret_certificate_issuer: str """ super().__init__(**kwargs) self.open_id_issuer = open_id_issuer self.client_id = client_id self.client_secret_setting_name = client_secret_setting_name self.client_secret_certificate_thumbprint = client_secret_certificate_thumbprint self.client_secret_certificate_subject_alternative_name = client_secret_certificate_subject_alternative_name self.client_secret_certificate_issuer = client_secret_certificate_issuer
:keyword open_id_issuer: The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://login.microsoftonline.com/v2.0/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html. :paramtype open_id_issuer: str :keyword client_id: The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. :paramtype client_id: str :keyword client_secret_setting_name: The app setting name that contains the client secret of the relying party application. :paramtype client_secret_setting_name: str :keyword client_secret_certificate_thumbprint: An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional. :paramtype client_secret_certificate_thumbprint: str :keyword client_secret_certificate_subject_alternative_name: An alternative to the client secret thumbprint, that is the subject alternative name of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional. :paramtype client_secret_certificate_subject_alternative_name: str :keyword client_secret_certificate_issuer: An alternative to the client secret thumbprint, that is the issuer of a certificate used for signing purposes. This property acts as a replacement for the Client Secret Certificate Thumbprint. It is also optional. :paramtype client_secret_certificate_issuer: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, jwt_claim_checks: Optional["JwtClaimChecks"] = None, allowed_audiences: Optional[List[str]] = None, default_authorization_policy: Optional["DefaultAuthorizationPolicy"] = None, **kwargs: Any ) -> None: """ :keyword jwt_claim_checks: The configuration settings of the checks that should be made while validating the JWT Claims. :paramtype jwt_claim_checks: ~azure.mgmt.appcontainers.models.JwtClaimChecks :keyword allowed_audiences: The list of audiences that can make successful authentication/authorization requests. :paramtype allowed_audiences: list[str] :keyword default_authorization_policy: The configuration settings of the default authorization policy. :paramtype default_authorization_policy: ~azure.mgmt.appcontainers.models.DefaultAuthorizationPolicy """ super().__init__(**kwargs) self.jwt_claim_checks = jwt_claim_checks self.allowed_audiences = allowed_audiences self.default_authorization_policy = default_authorization_policy
:keyword jwt_claim_checks: The configuration settings of the checks that should be made while validating the JWT Claims. :paramtype jwt_claim_checks: ~azure.mgmt.appcontainers.models.JwtClaimChecks :keyword allowed_audiences: The list of audiences that can make successful authentication/authorization requests. :paramtype allowed_audiences: list[str] :keyword default_authorization_policy: The configuration settings of the default authorization policy. :paramtype default_authorization_policy: ~azure.mgmt.appcontainers.models.DefaultAuthorizationPolicy
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, client_id: Optional[str] = None, client_secret: Optional[str] = None, tenant_id: Optional[str] = None, kind: Optional[str] = None, subscription_id: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword client_id: Client Id. :paramtype client_id: str :keyword client_secret: Client Secret. :paramtype client_secret: str :keyword tenant_id: Tenant Id. :paramtype tenant_id: str :keyword kind: Kind of auth github does for deploying the template. :paramtype kind: str :keyword subscription_id: Subscription Id. :paramtype subscription_id: str """ super().__init__(**kwargs) self.client_id = client_id self.client_secret = client_secret self.tenant_id = tenant_id self.kind = kind self.subscription_id = subscription_id
:keyword client_id: Client Id. :paramtype client_id: str :keyword client_secret: Client Secret. :paramtype client_secret: str :keyword tenant_id: Tenant Id. :paramtype tenant_id: str :keyword kind: Kind of auth github does for deploying the template. :paramtype kind: str :keyword subscription_id: Subscription Id. :paramtype subscription_id: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, account_name: Optional[str] = None, account_key: Optional[str] = None, access_mode: Optional[Union[str, "AccessMode"]] = None, share_name: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword account_name: Storage account name for azure file. :paramtype account_name: str :keyword account_key: Storage account key for azure file. :paramtype account_key: str :keyword access_mode: Access mode for storage. Known values are: "ReadOnly" and "ReadWrite". :paramtype access_mode: str or ~azure.mgmt.appcontainers.models.AccessMode :keyword share_name: Azure file share name. :paramtype share_name: str """ super().__init__(**kwargs) self.account_name = account_name self.account_key = account_key self.access_mode = access_mode self.share_name = share_name
:keyword account_name: Storage account name for azure file. :paramtype account_name: str :keyword account_key: Storage account key for azure file. :paramtype account_key: str :keyword access_mode: Access mode for storage. Known values are: "ReadOnly" and "ReadWrite". :paramtype access_mode: str or ~azure.mgmt.appcontainers.models.AccessMode :keyword share_name: Azure file share name. :paramtype share_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: Optional[bool] = None, registration: Optional["AzureStaticWebAppsRegistration"] = None, **kwargs: Any ) -> None: """ :keyword enabled: :code:`<code>false</code>` if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the Azure Static Web Apps registration. :paramtype registration: ~azure.mgmt.appcontainers.models.AzureStaticWebAppsRegistration """ super().__init__(**kwargs) self.enabled = enabled self.registration = registration
:keyword enabled: :code:`<code>false</code>` if the Azure Static Web Apps provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the Azure Static Web Apps registration. :paramtype registration: ~azure.mgmt.appcontainers.models.AzureStaticWebAppsRegistration
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, client_id: Optional[str] = None, **kwargs: Any) -> None: """ :keyword client_id: The Client ID of the app used for login. :paramtype client_id: str """ super().__init__(**kwargs) self.client_id = client_id
:keyword client_id: The Client ID of the app used for login. :paramtype client_id: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, image: Optional[str] = None, name: Optional[str] = None, command: Optional[List[str]] = None, args: Optional[List[str]] = None, env: Optional[List["EnvironmentVar"]] = None, resources: Optional["ContainerResources"] = None, volume_mounts: Optional[List["VolumeMount"]] = None, **kwargs: Any ) -> None: """ :keyword image: Container image tag. :paramtype image: str :keyword name: Custom container name. :paramtype name: str :keyword command: Container start command. :paramtype command: list[str] :keyword args: Container start command arguments. :paramtype args: list[str] :keyword env: Container environment variables. :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] :keyword resources: Container resource requirements. :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources :keyword volume_mounts: Container volume mounts. :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] """ super().__init__(**kwargs) self.image = image self.name = name self.command = command self.args = args self.env = env self.resources = resources self.volume_mounts = volume_mounts
:keyword image: Container image tag. :paramtype image: str :keyword name: Custom container name. :paramtype name: str :keyword command: Container start command. :paramtype command: list[str] :keyword args: Container start command arguments. :paramtype args: list[str] :keyword env: Container environment variables. :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] :keyword resources: Container resource requirements. :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources :keyword volume_mounts: Container volume mounts. :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: Optional[str] = None, properties: Optional["BillingMeterProperties"] = None, **kwargs: Any ) -> None: """ :keyword location: Region for the billing meter. :paramtype location: str :keyword properties: Revision resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.BillingMeterProperties """ super().__init__(**kwargs) self.location = location self.properties = properties
:keyword location: Region for the billing meter. :paramtype location: str :keyword properties: Revision resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.BillingMeterProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["BillingMeter"], **kwargs: Any) -> None: """ :keyword value: Collection of billing meters. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.BillingMeter] """ super().__init__(**kwargs) self.value = value
:keyword value: Collection of billing meters. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.BillingMeter]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, category: Optional[str] = None, meter_type: Optional[str] = None, display_name: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword category: Used to categorize billing meters. :paramtype category: str :keyword meter_type: Billing meter type. :paramtype meter_type: str :keyword display_name: The everyday name of the billing meter. :paramtype display_name: str """ super().__init__(**kwargs) self.category = category self.meter_type = meter_type self.display_name = display_name
:keyword category: Used to categorize billing meters. :paramtype category: str :keyword meter_type: Billing meter type. :paramtype meter_type: str :keyword display_name: The everyday name of the billing meter. :paramtype display_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, sas_url_setting_name: str, **kwargs: Any) -> None: """ :keyword sas_url_setting_name: The name of the app secrets containing the SAS URL of the blob storage containing the tokens. Required. :paramtype sas_url_setting_name: str """ super().__init__(**kwargs) self.sas_url_setting_name = sas_url_setting_name
:keyword sas_url_setting_name: The name of the app secrets containing the SAS URL of the blob storage containing the tokens. Required. :paramtype sas_url_setting_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str """ super().__init__(**kwargs) self.tags = tags self.location = location
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, properties: Optional["CertificateProperties"] = None, **kwargs: Any ) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword properties: Certificate resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.CertificateProperties """ super().__init__(tags=tags, location=location, **kwargs) self.properties = properties
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword properties: Certificate resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.CertificateProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["Certificate"], **kwargs: Any) -> None: """ :keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.Certificate] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.Certificate]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: """ :keyword tags: Application-specific metadata in the form of key-value pairs. :paramtype tags: dict[str, str] """ super().__init__(**kwargs) self.tags = tags
:keyword tags: Application-specific metadata in the form of key-value pairs. :paramtype tags: dict[str, str]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, password: Optional[str] = None, value: Optional[bytes] = None, **kwargs: Any) -> None: """ :keyword password: Certificate password. :paramtype password: str :keyword value: PFX or PEM blob. :paramtype value: bytes """ super().__init__(**kwargs) self.provisioning_state = None self.password = password self.subject_name = None self.subject_alternative_names = None self.value = value self.issuer = None self.issue_date = None self.expiration_date = None self.thumbprint = None self.valid = None self.public_key_hash = None
:keyword password: Certificate password. :paramtype password: str :keyword value: PFX or PEM blob. :paramtype value: bytes
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, name: Optional[str] = None, type: Optional[str] = None, **kwargs: Any) -> None: """ :keyword name: The name of the resource for which availability needs to be checked. :paramtype name: str :keyword type: The resource type. :paramtype type: str """ super().__init__(**kwargs) self.name = name self.type = type
:keyword name: The name of the resource for which availability needs to be checked. :paramtype name: str :keyword type: The resource type. :paramtype type: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name_available: Optional[bool] = None, reason: Optional[Union[str, "CheckNameAvailabilityReason"]] = None, message: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword name_available: Indicates if the resource name is available. :paramtype name_available: bool :keyword reason: The reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists". :paramtype reason: str or ~azure.mgmt.appcontainers.models.CheckNameAvailabilityReason :keyword message: Detailed reason why the given name is available. :paramtype message: str """ super().__init__(**kwargs) self.name_available = name_available self.reason = reason self.message = message
:keyword name_available: Indicates if the resource name is available. :paramtype name_available: bool :keyword reason: The reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists". :paramtype reason: str or ~azure.mgmt.appcontainers.models.CheckNameAvailabilityReason :keyword message: Detailed reason why the given name is available. :paramtype message: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, client_id: Optional[str] = None, client_secret_setting_name: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword client_id: The Client ID of the app used for login. :paramtype client_id: str :keyword client_secret_setting_name: The app setting name that contains the client secret. :paramtype client_secret_setting_name: str """ super().__init__(**kwargs) self.client_id = client_id self.client_secret_setting_name = client_secret_setting_name
:keyword client_id: The Client ID of the app used for login. :paramtype client_id: str :keyword client_secret_setting_name: The app setting name that contains the client secret. :paramtype client_secret_setting_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, secrets: Optional[List["Secret"]] = None, active_revisions_mode: Union[str, "ActiveRevisionsMode"] = "Single", ingress: Optional["Ingress"] = None, registries: Optional[List["RegistryCredentials"]] = None, dapr: Optional["Dapr"] = None, max_inactive_revisions: Optional[int] = None, service: Optional["Service"] = None, **kwargs: Any ) -> None: """ :keyword secrets: Collection of secrets used by a Container app. :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] :keyword active_revisions_mode: ActiveRevisionsMode controls how active revisions are handled for the Container app: .. raw:: html <list><item>Multiple: multiple revisions can be active.</item><item>Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.</item></list>. Known values are: "Multiple" and "Single". :paramtype active_revisions_mode: str or ~azure.mgmt.appcontainers.models.ActiveRevisionsMode :keyword ingress: Ingress configurations. :paramtype ingress: ~azure.mgmt.appcontainers.models.Ingress :keyword registries: Collection of private container registry credentials for containers used by the Container app. :paramtype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] :keyword dapr: Dapr configuration for the Container App. :paramtype dapr: ~azure.mgmt.appcontainers.models.Dapr :keyword max_inactive_revisions: Optional. Max inactive revisions a Container App can have. :paramtype max_inactive_revisions: int :keyword service: Container App to be a dev Container App Service. :paramtype service: ~azure.mgmt.appcontainers.models.Service """ super().__init__(**kwargs) self.secrets = secrets self.active_revisions_mode = active_revisions_mode self.ingress = ingress self.registries = registries self.dapr = dapr self.max_inactive_revisions = max_inactive_revisions self.service = service
:keyword secrets: Collection of secrets used by a Container app. :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] :keyword active_revisions_mode: ActiveRevisionsMode controls how active revisions are handled for the Container app: .. raw:: html <list><item>Multiple: multiple revisions can be active.</item><item>Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.</item></list>. Known values are: "Multiple" and "Single". :paramtype active_revisions_mode: str or ~azure.mgmt.appcontainers.models.ActiveRevisionsMode :keyword ingress: Ingress configurations. :paramtype ingress: ~azure.mgmt.appcontainers.models.Ingress :keyword registries: Collection of private container registry credentials for containers used by the Container app. :paramtype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] :keyword dapr: Dapr configuration for the Container App. :paramtype dapr: ~azure.mgmt.appcontainers.models.Dapr :keyword max_inactive_revisions: Optional. Max inactive revisions a Container App can have. :paramtype max_inactive_revisions: int :keyword service: Container App to be a dev Container App Service. :paramtype service: ~azure.mgmt.appcontainers.models.Service
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, extended_location: Optional["ExtendedLocation"] = None, static_ip: Optional[str] = None, dapr_ai_connection_string: Optional[str] = None, custom_domain_configuration: Optional["CustomDomainConfiguration"] = None, **kwargs: Any ) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword extended_location: The complex type of the extended location. :paramtype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation :keyword static_ip: Static IP of the connectedEnvironment. :paramtype static_ip: str :keyword dapr_ai_connection_string: Application Insights connection string used by Dapr to export Service to Service communication telemetry. :paramtype dapr_ai_connection_string: str :keyword custom_domain_configuration: Custom domain configuration for the environment. :paramtype custom_domain_configuration: ~azure.mgmt.appcontainers.models.CustomDomainConfiguration """ super().__init__(tags=tags, location=location, **kwargs) self.extended_location = extended_location self.provisioning_state = None self.deployment_errors = None self.default_domain = None self.static_ip = static_ip self.dapr_ai_connection_string = dapr_ai_connection_string self.custom_domain_configuration = custom_domain_configuration
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword extended_location: The complex type of the extended location. :paramtype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation :keyword static_ip: Static IP of the connectedEnvironment. :paramtype static_ip: str :keyword dapr_ai_connection_string: Application Insights connection string used by Dapr to export Service to Service communication telemetry. :paramtype dapr_ai_connection_string: str :keyword custom_domain_configuration: Custom domain configuration for the environment. :paramtype custom_domain_configuration: ~azure.mgmt.appcontainers.models.CustomDomainConfiguration
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: Optional[List["ConnectedEnvironment"]] = None, **kwargs: Any) -> None: """ :keyword value: Collection of resources. :paramtype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironment] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of resources. :paramtype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironment]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, properties: Optional["ConnectedEnvironmentStorageProperties"] = None, **kwargs: Any ) -> None: """ :keyword properties: Storage properties. :paramtype properties: ~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorageProperties """ super().__init__(**kwargs) self.properties = properties
:keyword properties: Storage properties. :paramtype properties: ~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorageProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, azure_file: Optional["AzureFileProperties"] = None, **kwargs: Any) -> None: """ :keyword azure_file: Azure file properties. :paramtype azure_file: ~azure.mgmt.appcontainers.models.AzureFileProperties """ super().__init__(**kwargs) self.azure_file = azure_file
:keyword azure_file: Azure file properties. :paramtype azure_file: ~azure.mgmt.appcontainers.models.AzureFileProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["ConnectedEnvironmentStorage"], **kwargs: Any) -> None: """ :keyword value: Collection of storage resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorage] """ super().__init__(**kwargs) self.value = value
:keyword value: Collection of storage resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.ConnectedEnvironmentStorage]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, image: Optional[str] = None, name: Optional[str] = None, command: Optional[List[str]] = None, args: Optional[List[str]] = None, env: Optional[List["EnvironmentVar"]] = None, resources: Optional["ContainerResources"] = None, volume_mounts: Optional[List["VolumeMount"]] = None, probes: Optional[List["ContainerAppProbe"]] = None, **kwargs: Any ) -> None: """ :keyword image: Container image tag. :paramtype image: str :keyword name: Custom container name. :paramtype name: str :keyword command: Container start command. :paramtype command: list[str] :keyword args: Container start command arguments. :paramtype args: list[str] :keyword env: Container environment variables. :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] :keyword resources: Container resource requirements. :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources :keyword volume_mounts: Container volume mounts. :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] :keyword probes: List of probes for the container. :paramtype probes: list[~azure.mgmt.appcontainers.models.ContainerAppProbe] """ super().__init__( image=image, name=name, command=command, args=args, env=env, resources=resources, volume_mounts=volume_mounts, **kwargs ) self.probes = probes
:keyword image: Container image tag. :paramtype image: str :keyword name: Custom container name. :paramtype name: str :keyword command: Container start command. :paramtype command: list[str] :keyword args: Container start command arguments. :paramtype args: list[str] :keyword env: Container environment variables. :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] :keyword resources: Container resource requirements. :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources :keyword volume_mounts: Container volume mounts. :paramtype volume_mounts: list[~azure.mgmt.appcontainers.models.VolumeMount] :keyword probes: List of probes for the container. :paramtype probes: list[~azure.mgmt.appcontainers.models.ContainerAppProbe]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, extended_location: Optional["ExtendedLocation"] = None, identity: Optional["ManagedServiceIdentity"] = None, managed_by: Optional[str] = None, managed_environment_id: Optional[str] = None, environment_id: Optional[str] = None, workload_profile_name: Optional[str] = None, configuration: Optional["Configuration"] = None, template: Optional["Template"] = None, **kwargs: Any ) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword extended_location: The complex type of the extended location. :paramtype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation :keyword identity: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. :paramtype managed_by: str :keyword managed_environment_id: Deprecated. Resource ID of the Container App's environment. :paramtype managed_environment_id: str :keyword environment_id: Resource ID of environment. :paramtype environment_id: str :keyword workload_profile_name: Workload profile name to pin for container app execution. :paramtype workload_profile_name: str :keyword configuration: Non versioned Container App configuration properties. :paramtype configuration: ~azure.mgmt.appcontainers.models.Configuration :keyword template: Container App versioned application definition. :paramtype template: ~azure.mgmt.appcontainers.models.Template """ super().__init__(tags=tags, location=location, **kwargs) self.extended_location = extended_location self.identity = identity self.managed_by = managed_by self.provisioning_state = None self.managed_environment_id = managed_environment_id self.environment_id = environment_id self.workload_profile_name = workload_profile_name self.latest_revision_name = None self.latest_ready_revision_name = None self.latest_revision_fqdn = None self.custom_domain_verification_id = None self.configuration = configuration self.template = template self.outbound_ip_addresses = None self.event_stream_endpoint = None
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword extended_location: The complex type of the extended location. :paramtype extended_location: ~azure.mgmt.appcontainers.models.ExtendedLocation :keyword identity: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword managed_by: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. :paramtype managed_by: str :keyword managed_environment_id: Deprecated. Resource ID of the Container App's environment. :paramtype managed_environment_id: str :keyword environment_id: Resource ID of environment. :paramtype environment_id: str :keyword workload_profile_name: Workload profile name to pin for container app execution. :paramtype workload_profile_name: str :keyword configuration: Non versioned Container App configuration properties. :paramtype configuration: ~azure.mgmt.appcontainers.models.Configuration :keyword template: Container App versioned application definition. :paramtype template: ~azure.mgmt.appcontainers.models.Template
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str """ super().__init__(tags=tags, location=location, **kwargs) self.token = None self.expires = None
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["ContainerApp"], **kwargs: Any) -> None: """ :keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.ContainerApp] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.ContainerApp]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["JobExecution"], **kwargs: Any) -> None: """ :keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.JobExecution] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.JobExecution]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, failure_threshold: Optional[int] = None, http_get: Optional["ContainerAppProbeHttpGet"] = None, initial_delay_seconds: Optional[int] = None, period_seconds: Optional[int] = None, success_threshold: Optional[int] = None, tcp_socket: Optional["ContainerAppProbeTcpSocket"] = None, termination_grace_period_seconds: Optional[int] = None, timeout_seconds: Optional[int] = None, type: Optional[Union[str, "Type"]] = None, **kwargs: Any ) -> None: """ :keyword failure_threshold: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10. :paramtype failure_threshold: int :keyword http_get: HTTPGet specifies the http request to perform. :paramtype http_get: ~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGet :keyword initial_delay_seconds: Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60. :paramtype initial_delay_seconds: int :keyword period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240. :paramtype period_seconds: int :keyword success_threshold: Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10. :paramtype success_threshold: int :keyword tcp_socket: TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported. :paramtype tcp_socket: ~azure.mgmt.appcontainers.models.ContainerAppProbeTcpSocket :keyword termination_grace_period_seconds: Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour). :paramtype termination_grace_period_seconds: int :keyword timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240. :paramtype timeout_seconds: int :keyword type: The type of probe. Known values are: "Liveness", "Readiness", and "Startup". :paramtype type: str or ~azure.mgmt.appcontainers.models.Type """ super().__init__(**kwargs) self.failure_threshold = failure_threshold self.http_get = http_get self.initial_delay_seconds = initial_delay_seconds self.period_seconds = period_seconds self.success_threshold = success_threshold self.tcp_socket = tcp_socket self.termination_grace_period_seconds = termination_grace_period_seconds self.timeout_seconds = timeout_seconds self.type = type
:keyword failure_threshold: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10. :paramtype failure_threshold: int :keyword http_get: HTTPGet specifies the http request to perform. :paramtype http_get: ~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGet :keyword initial_delay_seconds: Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60. :paramtype initial_delay_seconds: int :keyword period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240. :paramtype period_seconds: int :keyword success_threshold: Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10. :paramtype success_threshold: int :keyword tcp_socket: TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported. :paramtype tcp_socket: ~azure.mgmt.appcontainers.models.ContainerAppProbeTcpSocket :keyword termination_grace_period_seconds: Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour). :paramtype termination_grace_period_seconds: int :keyword timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240. :paramtype timeout_seconds: int :keyword type: The type of probe. Known values are: "Liveness", "Readiness", and "Startup". :paramtype type: str or ~azure.mgmt.appcontainers.models.Type
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, port: int, host: Optional[str] = None, http_headers: Optional[List["ContainerAppProbeHttpGetHttpHeadersItem"]] = None, path: Optional[str] = None, scheme: Optional[Union[str, "Scheme"]] = None, **kwargs: Any ) -> None: """ :keyword host: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. :paramtype host: str :keyword http_headers: Custom headers to set in the request. HTTP allows repeated headers. :paramtype http_headers: list[~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGetHttpHeadersItem] :keyword path: Path to access on the HTTP server. :paramtype path: str :keyword port: Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. Required. :paramtype port: int :keyword scheme: Scheme to use for connecting to the host. Defaults to HTTP. Known values are: "HTTP" and "HTTPS". :paramtype scheme: str or ~azure.mgmt.appcontainers.models.Scheme """ super().__init__(**kwargs) self.host = host self.http_headers = http_headers self.path = path self.port = port self.scheme = scheme
:keyword host: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. :paramtype host: str :keyword http_headers: Custom headers to set in the request. HTTP allows repeated headers. :paramtype http_headers: list[~azure.mgmt.appcontainers.models.ContainerAppProbeHttpGetHttpHeadersItem] :keyword path: Path to access on the HTTP server. :paramtype path: str :keyword port: Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. Required. :paramtype port: int :keyword scheme: Scheme to use for connecting to the host. Defaults to HTTP. Known values are: "HTTP" and "HTTPS". :paramtype scheme: str or ~azure.mgmt.appcontainers.models.Scheme
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, name: str, value: str, **kwargs: Any) -> None: """ :keyword name: The header field name. Required. :paramtype name: str :keyword value: The header field value. Required. :paramtype value: str """ super().__init__(**kwargs) self.name = name self.value = value
:keyword name: The header field name. Required. :paramtype name: str :keyword value: The header field value. Required. :paramtype value: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, port: int, host: Optional[str] = None, **kwargs: Any) -> None: """ :keyword host: Optional: Host name to connect to, defaults to the pod IP. :paramtype host: str :keyword port: Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. Required. :paramtype port: int """ super().__init__(**kwargs) self.host = host self.port = port
:keyword host: Optional: Host name to connect to, defaults to the pod IP. :paramtype host: str :keyword port: Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. Required. :paramtype port: int
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, cpu: Optional[float] = None, memory: Optional[str] = None, **kwargs: Any) -> None: """ :keyword cpu: Required CPU in cores, e.g. 0.5. :paramtype cpu: float :keyword memory: Required memory, e.g. "250Mb". :paramtype memory: str """ super().__init__(**kwargs) self.cpu = cpu self.memory = memory self.ephemeral_storage = None
:keyword cpu: Required CPU in cores, e.g. 0.5. :paramtype cpu: float :keyword memory: Required memory, e.g. "250Mb". :paramtype memory: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, convention: Optional[Union[str, "CookieExpirationConvention"]] = None, time_to_expiration: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword convention: The convention used when determining the session cookie's expiration. Known values are: "FixedTime" and "IdentityProviderDerived". :paramtype convention: str or ~azure.mgmt.appcontainers.models.CookieExpirationConvention :keyword time_to_expiration: The time after the request is made when the session cookie should expire. :paramtype time_to_expiration: str """ super().__init__(**kwargs) self.convention = convention self.time_to_expiration = time_to_expiration
:keyword convention: The convention used when determining the session cookie's expiration. Known values are: "FixedTime" and "IdentityProviderDerived". :paramtype convention: str or ~azure.mgmt.appcontainers.models.CookieExpirationConvention :keyword time_to_expiration: The time after the request is made when the session cookie should expire. :paramtype time_to_expiration: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, allowed_origins: List[str], allowed_methods: Optional[List[str]] = None, allowed_headers: Optional[List[str]] = None, expose_headers: Optional[List[str]] = None, max_age: Optional[int] = None, allow_credentials: Optional[bool] = None, **kwargs: Any ) -> None: """ :keyword allowed_origins: Specifies the content for the access-control-allow-origins header. Required. :paramtype allowed_origins: list[str] :keyword allowed_methods: Specifies the content for the access-control-allow-methods header. :paramtype allowed_methods: list[str] :keyword allowed_headers: Specifies the content for the access-control-allow-headers header. :paramtype allowed_headers: list[str] :keyword expose_headers: Specifies the content for the access-control-expose-headers header. :paramtype expose_headers: list[str] :keyword max_age: Specifies the content for the access-control-max-age header. :paramtype max_age: int :keyword allow_credentials: Specifies whether the resource allows credentials. :paramtype allow_credentials: bool """ super().__init__(**kwargs) self.allowed_origins = allowed_origins self.allowed_methods = allowed_methods self.allowed_headers = allowed_headers self.expose_headers = expose_headers self.max_age = max_age self.allow_credentials = allow_credentials
:keyword allowed_origins: Specifies the content for the access-control-allow-origins header. Required. :paramtype allowed_origins: list[str] :keyword allowed_methods: Specifies the content for the access-control-allow-methods header. :paramtype allowed_methods: list[str] :keyword allowed_headers: Specifies the content for the access-control-allow-headers header. :paramtype allowed_headers: list[str] :keyword expose_headers: Specifies the content for the access-control-expose-headers header. :paramtype expose_headers: list[str] :keyword max_age: Specifies the content for the access-control-max-age header. :paramtype max_age: int :keyword allow_credentials: Specifies whether the resource allows credentials. :paramtype allow_credentials: bool
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: str, binding_type: Optional[Union[str, "BindingType"]] = None, certificate_id: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword name: Hostname. Required. :paramtype name: str :keyword binding_type: Custom Domain binding type. Known values are: "Disabled" and "SniEnabled". :paramtype binding_type: str or ~azure.mgmt.appcontainers.models.BindingType :keyword certificate_id: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment. :paramtype certificate_id: str """ super().__init__(**kwargs) self.name = name self.binding_type = binding_type self.certificate_id = certificate_id
:keyword name: Hostname. Required. :paramtype name: str :keyword binding_type: Custom Domain binding type. Known values are: "Disabled" and "SniEnabled". :paramtype binding_type: str or ~azure.mgmt.appcontainers.models.BindingType :keyword certificate_id: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment. :paramtype certificate_id: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, dns_suffix: Optional[str] = None, certificate_value: Optional[bytes] = None, certificate_password: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword dns_suffix: Dns suffix for the environment domain. :paramtype dns_suffix: str :keyword certificate_value: PFX or PEM blob. :paramtype certificate_value: bytes :keyword certificate_password: Certificate password. :paramtype certificate_password: str """ super().__init__(**kwargs) self.custom_domain_verification_id = None self.dns_suffix = dns_suffix self.certificate_value = certificate_value self.certificate_password = certificate_password self.expiration_date = None self.thumbprint = None self.subject_name = None
:keyword dns_suffix: Dns suffix for the environment domain. :paramtype dns_suffix: str :keyword certificate_value: PFX or PEM blob. :paramtype certificate_value: bytes :keyword certificate_password: Certificate password. :paramtype certificate_password: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, c_name_records: Optional[List[str]] = None, txt_records: Optional[List[str]] = None, a_records: Optional[List[str]] = None, alternate_c_name_records: Optional[List[str]] = None, alternate_txt_records: Optional[List[str]] = None, **kwargs: Any ) -> None: """ :keyword c_name_records: CName records visible for this hostname. :paramtype c_name_records: list[str] :keyword txt_records: TXT records visible for this hostname. :paramtype txt_records: list[str] :keyword a_records: A records visible for this hostname. :paramtype a_records: list[str] :keyword alternate_c_name_records: Alternate CName records visible for this hostname. :paramtype alternate_c_name_records: list[str] :keyword alternate_txt_records: Alternate TXT records visible for this hostname. :paramtype alternate_txt_records: list[str] """ super().__init__(**kwargs) self.host_name = None self.is_hostname_already_verified = None self.custom_domain_verification_test = None self.custom_domain_verification_failure_info = None self.has_conflict_on_managed_environment = None self.conflict_with_environment_custom_domain = None self.conflicting_container_app_resource_id = None self.c_name_records = c_name_records self.txt_records = txt_records self.a_records = a_records self.alternate_c_name_records = alternate_c_name_records self.alternate_txt_records = alternate_txt_records
:keyword c_name_records: CName records visible for this hostname. :paramtype c_name_records: list[str] :keyword txt_records: TXT records visible for this hostname. :paramtype txt_records: list[str] :keyword a_records: A records visible for this hostname. :paramtype a_records: list[str] :keyword alternate_c_name_records: Alternate CName records visible for this hostname. :paramtype alternate_c_name_records: list[str] :keyword alternate_txt_records: Alternate TXT records visible for this hostname. :paramtype alternate_txt_records: list[str]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, details: Optional[ List["CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem"] ] = None, **kwargs: Any ) -> None: """ :keyword details: Details or the error. :paramtype details: list[~azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem] # pylint: disable=line-too-long """ super().__init__(**kwargs) self.code = None self.message = None self.target = None self.details = details
:keyword details: Details or the error. :paramtype details: list[~azure.mgmt.appcontainers.models.CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem] # pylint: disable=line-too-long
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: Optional[bool] = None, registration: Optional["OpenIdConnectRegistration"] = None, login: Optional["OpenIdConnectLogin"] = None, **kwargs: Any ) -> None: """ :keyword enabled: :code:`<code>false</code>` if the custom Open ID provider provider should not be enabled; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the custom Open ID Connect provider. :paramtype registration: ~azure.mgmt.appcontainers.models.OpenIdConnectRegistration :keyword login: The configuration settings of the login flow of the custom Open ID Connect provider. :paramtype login: ~azure.mgmt.appcontainers.models.OpenIdConnectLogin """ super().__init__(**kwargs) self.enabled = enabled self.registration = registration self.login = login
:keyword enabled: :code:`<code>false</code>` if the custom Open ID provider provider should not be enabled; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the custom Open ID Connect provider. :paramtype registration: ~azure.mgmt.appcontainers.models.OpenIdConnectRegistration :keyword login: The configuration settings of the login flow of the custom Open ID Connect provider. :paramtype login: ~azure.mgmt.appcontainers.models.OpenIdConnectLogin
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, type: Optional[str] = None, metadata: Optional[Dict[str, str]] = None, auth: Optional[List["ScaleRuleAuth"]] = None, **kwargs: Any ) -> None: """ :keyword type: Type of the custom scale rule eg: azure-servicebus, redis etc. :paramtype type: str :keyword metadata: Metadata properties to describe custom scale rule. :paramtype metadata: dict[str, str] :keyword auth: Authentication secrets for the custom scale rule. :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] """ super().__init__(**kwargs) self.type = type self.metadata = metadata self.auth = auth
:keyword type: Type of the custom scale rule eg: azure-servicebus, redis etc. :paramtype type: str :keyword metadata: Metadata properties to describe custom scale rule. :paramtype metadata: dict[str, str] :keyword auth: Authentication secrets for the custom scale rule. :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: bool = False, app_id: Optional[str] = None, app_protocol: Union[str, "AppProtocol"] = "http", app_port: Optional[int] = None, http_read_buffer_size: Optional[int] = None, http_max_request_size: Optional[int] = None, log_level: Optional[Union[str, "LogLevel"]] = None, enable_api_logging: Optional[bool] = None, **kwargs: Any ) -> None: """ :keyword enabled: Boolean indicating if the Dapr side car is enabled. :paramtype enabled: bool :keyword app_id: Dapr application identifier. :paramtype app_id: str :keyword app_protocol: Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. Known values are: "http" and "grpc". :paramtype app_protocol: str or ~azure.mgmt.appcontainers.models.AppProtocol :keyword app_port: Tells Dapr which port your application is listening on. :paramtype app_port: int :keyword http_read_buffer_size: Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. :paramtype http_read_buffer_size: int :keyword http_max_request_size: Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB. :paramtype http_max_request_size: int :keyword log_level: Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: "info", "debug", "warn", and "error". :paramtype log_level: str or ~azure.mgmt.appcontainers.models.LogLevel :keyword enable_api_logging: Enables API logging for the Dapr sidecar. :paramtype enable_api_logging: bool """ super().__init__(**kwargs) self.enabled = enabled self.app_id = app_id self.app_protocol = app_protocol self.app_port = app_port self.http_read_buffer_size = http_read_buffer_size self.http_max_request_size = http_max_request_size self.log_level = log_level self.enable_api_logging = enable_api_logging
:keyword enabled: Boolean indicating if the Dapr side car is enabled. :paramtype enabled: bool :keyword app_id: Dapr application identifier. :paramtype app_id: str :keyword app_protocol: Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. Known values are: "http" and "grpc". :paramtype app_protocol: str or ~azure.mgmt.appcontainers.models.AppProtocol :keyword app_port: Tells Dapr which port your application is listening on. :paramtype app_port: int :keyword http_read_buffer_size: Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB. :paramtype http_read_buffer_size: int :keyword http_max_request_size: Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB. :paramtype http_max_request_size: int :keyword log_level: Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: "info", "debug", "warn", and "error". :paramtype log_level: str or ~azure.mgmt.appcontainers.models.LogLevel :keyword enable_api_logging: Enables API logging for the Dapr sidecar. :paramtype enable_api_logging: bool
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, component_type: Optional[str] = None, version: Optional[str] = None, ignore_errors: bool = False, init_timeout: Optional[str] = None, secrets: Optional[List["Secret"]] = None, secret_store_component: Optional[str] = None, metadata: Optional[List["DaprMetadata"]] = None, scopes: Optional[List[str]] = None, **kwargs: Any ) -> None: """ :keyword component_type: Component type. :paramtype component_type: str :keyword version: Component version. :paramtype version: str :keyword ignore_errors: Boolean describing if the component errors are ignores. :paramtype ignore_errors: bool :keyword init_timeout: Initialization timeout. :paramtype init_timeout: str :keyword secrets: Collection of secrets used by a Dapr component. :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] :keyword secret_store_component: Name of a Dapr component to retrieve component secrets from. :paramtype secret_store_component: str :keyword metadata: Component metadata. :paramtype metadata: list[~azure.mgmt.appcontainers.models.DaprMetadata] :keyword scopes: Names of container apps that can use this Dapr component. :paramtype scopes: list[str] """ super().__init__(**kwargs) self.component_type = component_type self.version = version self.ignore_errors = ignore_errors self.init_timeout = init_timeout self.secrets = secrets self.secret_store_component = secret_store_component self.metadata = metadata self.scopes = scopes
:keyword component_type: Component type. :paramtype component_type: str :keyword version: Component version. :paramtype version: str :keyword ignore_errors: Boolean describing if the component errors are ignores. :paramtype ignore_errors: bool :keyword init_timeout: Initialization timeout. :paramtype init_timeout: str :keyword secrets: Collection of secrets used by a Dapr component. :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] :keyword secret_store_component: Name of a Dapr component to retrieve component secrets from. :paramtype secret_store_component: str :keyword metadata: Component metadata. :paramtype metadata: list[~azure.mgmt.appcontainers.models.DaprMetadata] :keyword scopes: Names of container apps that can use this Dapr component. :paramtype scopes: list[str]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["DaprComponent"], **kwargs: Any) -> None: """ :keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.DaprComponent] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.DaprComponent]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: Optional[str] = None, value: Optional[str] = None, secret_ref: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword name: Metadata property name. :paramtype name: str :keyword value: Metadata property value. :paramtype value: str :keyword secret_ref: Name of the Dapr Component secret from which to pull the metadata property value. :paramtype secret_ref: str """ super().__init__(**kwargs) self.name = name self.value = value self.secret_ref = secret_ref
:keyword name: Metadata property name. :paramtype name: str :keyword value: Metadata property value. :paramtype value: str :keyword secret_ref: Name of the Dapr Component secret from which to pull the metadata property value. :paramtype secret_ref: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["DaprSecret"], **kwargs: Any) -> None: """ :keyword value: Collection of secrets used by a Dapr component. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.DaprSecret] """ super().__init__(**kwargs) self.value = value
:keyword value: Collection of secrets used by a Dapr component. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.DaprSecret]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, allowed_principals: Optional["AllowedPrincipals"] = None, allowed_applications: Optional[List[str]] = None, **kwargs: Any ) -> None: """ :keyword allowed_principals: The configuration settings of the Azure Active Directory allowed principals. :paramtype allowed_principals: ~azure.mgmt.appcontainers.models.AllowedPrincipals :keyword allowed_applications: The configuration settings of the Azure Active Directory allowed applications. :paramtype allowed_applications: list[str] """ super().__init__(**kwargs) self.allowed_principals = allowed_principals self.allowed_applications = allowed_applications
:keyword allowed_principals: The configuration settings of the Azure Active Directory allowed principals. :paramtype allowed_principals: ~azure.mgmt.appcontainers.models.AllowedPrincipals :keyword allowed_applications: The configuration settings of the Azure Active Directory allowed applications. :paramtype allowed_applications: list[str]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, details: Optional[List["DefaultErrorResponseErrorDetailsItem"]] = None, **kwargs: Any ) -> None: """ :keyword details: Details or the error. :paramtype details: list[~azure.mgmt.appcontainers.models.DefaultErrorResponseErrorDetailsItem] """ super().__init__(**kwargs) self.code = None self.message = None self.target = None self.details = details self.innererror = None
:keyword details: Details or the error. :paramtype details: list[~azure.mgmt.appcontainers.models.DefaultErrorResponseErrorDetailsItem]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, provider_name: Optional[str] = None, property_bag: Optional[List["DiagnosticDataProviderMetadataPropertyBagItem"]] = None, **kwargs: Any ) -> None: """ :keyword provider_name: Name of data provider. :paramtype provider_name: str :keyword property_bag: Collection of properties. :paramtype property_bag: list[~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadataPropertyBagItem] """ super().__init__(**kwargs) self.provider_name = provider_name self.property_bag = property_bag
:keyword provider_name: Name of data provider. :paramtype provider_name: str :keyword property_bag: Collection of properties. :paramtype property_bag: list[~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadataPropertyBagItem]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, name: Optional[str] = None, value: Optional[str] = None, **kwargs: Any) -> None: """ :keyword name: Property name. :paramtype name: str :keyword value: Property value. :paramtype value: str """ super().__init__(**kwargs) self.name = name self.value = value
:keyword name: Property name. :paramtype name: str :keyword value: Property value. :paramtype value: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, column_name: Optional[str] = None, data_type: Optional[str] = None, column_type: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword column_name: Column name. :paramtype column_name: str :keyword data_type: Data type of the column. :paramtype data_type: str :keyword column_type: Column type. :paramtype column_type: str """ super().__init__(**kwargs) self.column_name = column_name self.data_type = data_type self.column_type = column_type
:keyword column_name: Column name. :paramtype column_name: str :keyword data_type: Data type of the column. :paramtype data_type: str :keyword column_type: Column type. :paramtype column_type: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, table_name: Optional[str] = None, columns: Optional[List["DiagnosticDataTableResponseColumn"]] = None, rows: Optional[List[JSON]] = None, **kwargs: Any ) -> None: """ :keyword table_name: Table name. :paramtype table_name: str :keyword columns: Columns in the table. :paramtype columns: list[~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseColumn] :keyword rows: Rows in the table. :paramtype rows: list[JSON] """ super().__init__(**kwargs) self.table_name = table_name self.columns = columns self.rows = rows
:keyword table_name: Table name. :paramtype table_name: str :keyword columns: Columns in the table. :paramtype columns: list[~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseColumn] :keyword rows: Rows in the table. :paramtype rows: list[JSON]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, type: Optional[int] = None, title: Optional[str] = None, description: Optional[str] = None, is_visible: Optional[bool] = None, **kwargs: Any ) -> None: """ :keyword type: Rendering type. :paramtype type: int :keyword title: Title of the table. :paramtype title: str :keyword description: Description of the table. :paramtype description: str :keyword is_visible: Flag if the table should be rendered. :paramtype is_visible: bool """ super().__init__(**kwargs) self.type = type self.title = title self.description = description self.is_visible = is_visible
:keyword type: Rendering type. :paramtype type: int :keyword title: Title of the table. :paramtype title: str :keyword description: Description of the table. :paramtype description: str :keyword is_visible: Flag if the table should be rendered. :paramtype is_visible: bool
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, properties: Optional["DiagnosticsProperties"] = None, **kwargs: Any) -> None: """ :keyword properties: Diagnostics resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.DiagnosticsProperties """ super().__init__(**kwargs) self.properties = properties
:keyword properties: Diagnostics resource specific properties. :paramtype properties: ~azure.mgmt.appcontainers.models.DiagnosticsProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["Diagnostics"], **kwargs: Any) -> None: """ :keyword value: Collection of diagnostic data. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.Diagnostics] """ super().__init__(**kwargs) self.value = value self.next_link = None
:keyword value: Collection of diagnostic data. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.Diagnostics]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, table: Optional["DiagnosticDataTableResponseObject"] = None, rendering_properties: Optional["DiagnosticRendering"] = None, **kwargs: Any ) -> None: """ :keyword table: Table response. :paramtype table: ~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseObject :keyword rendering_properties: Details of the table response. :paramtype rendering_properties: ~azure.mgmt.appcontainers.models.DiagnosticRendering """ super().__init__(**kwargs) self.table = table self.rendering_properties = rendering_properties
:keyword table: Table response. :paramtype table: ~azure.mgmt.appcontainers.models.DiagnosticDataTableResponseObject :keyword rendering_properties: Details of the table response. :paramtype rendering_properties: ~azure.mgmt.appcontainers.models.DiagnosticRendering
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, support_topic_list: Optional[List["DiagnosticSupportTopic"]] = None, analysis_types: Optional[List[str]] = None, **kwargs: Any ) -> None: """ :keyword support_topic_list: List of support topics. :paramtype support_topic_list: list[~azure.mgmt.appcontainers.models.DiagnosticSupportTopic] :keyword analysis_types: List of analysis types. :paramtype analysis_types: list[str] """ super().__init__(**kwargs) self.id = None self.name = None self.description = None self.author = None self.category = None self.support_topic_list = support_topic_list self.analysis_types = analysis_types self.type = None self.score = None
:keyword support_topic_list: List of support topics. :paramtype support_topic_list: list[~azure.mgmt.appcontainers.models.DiagnosticSupportTopic] :keyword analysis_types: List of analysis types. :paramtype analysis_types: list[str]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, metadata: Optional["DiagnosticsDefinition"] = None, dataset: Optional[List["DiagnosticsDataApiResponse"]] = None, status: Optional["DiagnosticsStatus"] = None, data_provider_metadata: Optional["DiagnosticDataProviderMetadata"] = None, **kwargs: Any ) -> None: """ :keyword metadata: Metadata of the diagnostics response. :paramtype metadata: ~azure.mgmt.appcontainers.models.DiagnosticsDefinition :keyword dataset: Set of data collections associated with the response. :paramtype dataset: list[~azure.mgmt.appcontainers.models.DiagnosticsDataApiResponse] :keyword status: Status of the diagnostics response. :paramtype status: ~azure.mgmt.appcontainers.models.DiagnosticsStatus :keyword data_provider_metadata: List of data providers' metadata. :paramtype data_provider_metadata: ~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadata """ super().__init__(**kwargs) self.metadata = metadata self.dataset = dataset self.status = status self.data_provider_metadata = data_provider_metadata
:keyword metadata: Metadata of the diagnostics response. :paramtype metadata: ~azure.mgmt.appcontainers.models.DiagnosticsDefinition :keyword dataset: Set of data collections associated with the response. :paramtype dataset: list[~azure.mgmt.appcontainers.models.DiagnosticsDataApiResponse] :keyword status: Status of the diagnostics response. :paramtype status: ~azure.mgmt.appcontainers.models.DiagnosticsStatus :keyword data_provider_metadata: List of data providers' metadata. :paramtype data_provider_metadata: ~azure.mgmt.appcontainers.models.DiagnosticDataProviderMetadata
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, message: Optional[str] = None, status_id: Optional[int] = None, **kwargs: Any) -> None: """ :keyword message: Diagnostic message. :paramtype message: str :keyword status_id: Status. :paramtype status_id: int """ super().__init__(**kwargs) self.message = message self.status_id = status_id
:keyword message: Diagnostic message. :paramtype message: str :keyword status_id: Status. :paramtype status_id: int
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, container_app_auth_encryption_secret_name: Optional[str] = None, container_app_auth_signing_secret_name: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword container_app_auth_encryption_secret_name: The secret name which is referenced for EncryptionKey. :paramtype container_app_auth_encryption_secret_name: str :keyword container_app_auth_signing_secret_name: The secret name which is referenced for SigningKey. :paramtype container_app_auth_signing_secret_name: str """ super().__init__(**kwargs) self.container_app_auth_encryption_secret_name = container_app_auth_encryption_secret_name self.container_app_auth_signing_secret_name = container_app_auth_signing_secret_name
:keyword container_app_auth_encryption_secret_name: The secret name which is referenced for EncryptionKey. :paramtype container_app_auth_encryption_secret_name: str :keyword container_app_auth_signing_secret_name: The secret name which is referenced for SigningKey. :paramtype container_app_auth_signing_secret_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str """ super().__init__(tags=tags, location=location, **kwargs) self.token = None self.expires = None
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: Optional[str] = None, value: Optional[str] = None, secret_ref: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword name: Environment variable name. :paramtype name: str :keyword value: Non-secret environment variable value. :paramtype value: str :keyword secret_ref: Name of the Container App secret from which to pull the environment variable value. :paramtype secret_ref: str """ super().__init__(**kwargs) self.name = name self.value = value self.secret_ref = secret_ref
:keyword name: Environment variable name. :paramtype name: str :keyword value: Non-secret environment variable value. :paramtype value: str :keyword secret_ref: Name of the Container App secret from which to pull the environment variable value. :paramtype secret_ref: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, error: Optional["ErrorDetail"] = None, **kwargs: Any) -> None: """ :keyword error: The error object. :paramtype error: ~azure.mgmt.appcontainers.models.ErrorDetail """ super().__init__(**kwargs) self.error = error
:keyword error: The error object. :paramtype error: ~azure.mgmt.appcontainers.models.ErrorDetail
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: Optional[str] = None, type: Optional[Union[str, "ExtendedLocationTypes"]] = None, **kwargs: Any ) -> None: """ :keyword name: The name of the extended location. :paramtype name: str :keyword type: The type of the extended location. "CustomLocation" :paramtype type: str or ~azure.mgmt.appcontainers.models.ExtendedLocationTypes """ super().__init__(**kwargs) self.name = name self.type = type
:keyword name: The name of the extended location. :paramtype name: str :keyword type: The type of the extended location. "CustomLocation" :paramtype type: str or ~azure.mgmt.appcontainers.models.ExtendedLocationTypes
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: Optional[bool] = None, registration: Optional["AppRegistration"] = None, graph_api_version: Optional[str] = None, login: Optional["LoginScopes"] = None, **kwargs: Any ) -> None: """ :keyword enabled: :code:`<code>false</code>` if the Facebook provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the Facebook provider. :paramtype registration: ~azure.mgmt.appcontainers.models.AppRegistration :keyword graph_api_version: The version of the Facebook api to be used while logging in. :paramtype graph_api_version: str :keyword login: The configuration settings of the login flow. :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes """ super().__init__(**kwargs) self.enabled = enabled self.registration = registration self.graph_api_version = graph_api_version self.login = login
:keyword enabled: :code:`<code>false</code>` if the Facebook provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the Facebook provider. :paramtype registration: ~azure.mgmt.appcontainers.models.AppRegistration :keyword graph_api_version: The version of the Facebook api to be used while logging in. :paramtype graph_api_version: str :keyword login: The configuration settings of the login flow. :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, convention: Optional[Union[str, "ForwardProxyConvention"]] = None, custom_host_header_name: Optional[str] = None, custom_proto_header_name: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword convention: The convention used to determine the url of the request made. Known values are: "NoProxy", "Standard", and "Custom". :paramtype convention: str or ~azure.mgmt.appcontainers.models.ForwardProxyConvention :keyword custom_host_header_name: The name of the header containing the host of the request. :paramtype custom_host_header_name: str :keyword custom_proto_header_name: The name of the header containing the scheme of the request. :paramtype custom_proto_header_name: str """ super().__init__(**kwargs) self.convention = convention self.custom_host_header_name = custom_host_header_name self.custom_proto_header_name = custom_proto_header_name
:keyword convention: The convention used to determine the url of the request made. Known values are: "NoProxy", "Standard", and "Custom". :paramtype convention: str or ~azure.mgmt.appcontainers.models.ForwardProxyConvention :keyword custom_host_header_name: The name of the header containing the host of the request. :paramtype custom_host_header_name: str :keyword custom_proto_header_name: The name of the header containing the scheme of the request. :paramtype custom_proto_header_name: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: Optional[bool] = None, registration: Optional["ClientRegistration"] = None, login: Optional["LoginScopes"] = None, **kwargs: Any ) -> None: """ :keyword enabled: :code:`<code>false</code>` if the GitHub provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the GitHub provider. :paramtype registration: ~azure.mgmt.appcontainers.models.ClientRegistration :keyword login: The configuration settings of the login flow. :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes """ super().__init__(**kwargs) self.enabled = enabled self.registration = registration self.login = login
:keyword enabled: :code:`<code>false</code>` if the GitHub provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the GitHub provider. :paramtype registration: ~azure.mgmt.appcontainers.models.ClientRegistration :keyword login: The configuration settings of the login flow. :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, registry_info: Optional["RegistryInfo"] = None, azure_credentials: Optional["AzureCredentials"] = None, context_path: Optional[str] = None, github_personal_access_token: Optional[str] = None, image: Optional[str] = None, publish_type: Optional[str] = None, os: Optional[str] = None, runtime_stack: Optional[str] = None, runtime_version: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword registry_info: Registry configurations. :paramtype registry_info: ~azure.mgmt.appcontainers.models.RegistryInfo :keyword azure_credentials: AzureCredentials configurations. :paramtype azure_credentials: ~azure.mgmt.appcontainers.models.AzureCredentials :keyword context_path: Context path. :paramtype context_path: str :keyword github_personal_access_token: One time Github PAT to configure github environment. :paramtype github_personal_access_token: str :keyword image: Image name. :paramtype image: str :keyword publish_type: Code or Image. :paramtype publish_type: str :keyword os: Operation system. :paramtype os: str :keyword runtime_stack: Runtime stack. :paramtype runtime_stack: str :keyword runtime_version: Runtime version. :paramtype runtime_version: str """ super().__init__(**kwargs) self.registry_info = registry_info self.azure_credentials = azure_credentials self.context_path = context_path self.github_personal_access_token = github_personal_access_token self.image = image self.publish_type = publish_type self.os = os self.runtime_stack = runtime_stack self.runtime_version = runtime_version
:keyword registry_info: Registry configurations. :paramtype registry_info: ~azure.mgmt.appcontainers.models.RegistryInfo :keyword azure_credentials: AzureCredentials configurations. :paramtype azure_credentials: ~azure.mgmt.appcontainers.models.AzureCredentials :keyword context_path: Context path. :paramtype context_path: str :keyword github_personal_access_token: One time Github PAT to configure github environment. :paramtype github_personal_access_token: str :keyword image: Image name. :paramtype image: str :keyword publish_type: Code or Image. :paramtype publish_type: str :keyword os: Operation system. :paramtype os: str :keyword runtime_stack: Runtime stack. :paramtype runtime_stack: str :keyword runtime_version: Runtime version. :paramtype runtime_version: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, unauthenticated_client_action: Optional[Union[str, "UnauthenticatedClientActionV2"]] = None, redirect_to_provider: Optional[str] = None, excluded_paths: Optional[List[str]] = None, **kwargs: Any ) -> None: """ :keyword unauthenticated_client_action: The action to take when an unauthenticated client attempts to access the app. Known values are: "RedirectToLoginPage", "AllowAnonymous", "Return401", and "Return403". :paramtype unauthenticated_client_action: str or ~azure.mgmt.appcontainers.models.UnauthenticatedClientActionV2 :keyword redirect_to_provider: The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage". :paramtype redirect_to_provider: str :keyword excluded_paths: The paths for which unauthenticated flow would not be redirected to the login page. :paramtype excluded_paths: list[str] """ super().__init__(**kwargs) self.unauthenticated_client_action = unauthenticated_client_action self.redirect_to_provider = redirect_to_provider self.excluded_paths = excluded_paths
:keyword unauthenticated_client_action: The action to take when an unauthenticated client attempts to access the app. Known values are: "RedirectToLoginPage", "AllowAnonymous", "Return401", and "Return403". :paramtype unauthenticated_client_action: str or ~azure.mgmt.appcontainers.models.UnauthenticatedClientActionV2 :keyword redirect_to_provider: The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage". :paramtype redirect_to_provider: str :keyword excluded_paths: The paths for which unauthenticated flow would not be redirected to the login page. :paramtype excluded_paths: list[str]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, enabled: Optional[bool] = None, registration: Optional["ClientRegistration"] = None, login: Optional["LoginScopes"] = None, validation: Optional["AllowedAudiencesValidation"] = None, **kwargs: Any ) -> None: """ :keyword enabled: :code:`<code>false</code>` if the Google provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the Google provider. :paramtype registration: ~azure.mgmt.appcontainers.models.ClientRegistration :keyword login: The configuration settings of the login flow. :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes :keyword validation: The configuration settings of the Azure Active Directory token validation flow. :paramtype validation: ~azure.mgmt.appcontainers.models.AllowedAudiencesValidation """ super().__init__(**kwargs) self.enabled = enabled self.registration = registration self.login = login self.validation = validation
:keyword enabled: :code:`<code>false</code>` if the Google provider should not be enabled despite the set registration; otherwise, :code:`<code>true</code>`. :paramtype enabled: bool :keyword registration: The configuration settings of the app registration for the Google provider. :paramtype registration: ~azure.mgmt.appcontainers.models.ClientRegistration :keyword login: The configuration settings of the login flow. :paramtype login: ~azure.mgmt.appcontainers.models.LoginScopes :keyword validation: The configuration settings of the Azure Active Directory token validation flow. :paramtype validation: ~azure.mgmt.appcontainers.models.AllowedAudiencesValidation
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, metadata: Optional[Dict[str, str]] = None, auth: Optional[List["ScaleRuleAuth"]] = None, **kwargs: Any ) -> None: """ :keyword metadata: Metadata properties to describe http scale rule. :paramtype metadata: dict[str, str] :keyword auth: Authentication secrets for the custom scale rule. :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth] """ super().__init__(**kwargs) self.metadata = metadata self.auth = auth
:keyword metadata: Metadata properties to describe http scale rule. :paramtype metadata: dict[str, str] :keyword auth: Authentication secrets for the custom scale rule. :paramtype auth: list[~azure.mgmt.appcontainers.models.ScaleRuleAuth]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, require_https: Optional[bool] = None, routes: Optional["HttpSettingsRoutes"] = None, forward_proxy: Optional["ForwardProxy"] = None, **kwargs: Any ) -> None: """ :keyword require_https: :code:`<code>false</code>` if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, :code:`<code>true</code>`. :paramtype require_https: bool :keyword routes: The configuration settings of the paths HTTP requests. :paramtype routes: ~azure.mgmt.appcontainers.models.HttpSettingsRoutes :keyword forward_proxy: The configuration settings of a forward proxy used to make the requests. :paramtype forward_proxy: ~azure.mgmt.appcontainers.models.ForwardProxy """ super().__init__(**kwargs) self.require_https = require_https self.routes = routes self.forward_proxy = forward_proxy
:keyword require_https: :code:`<code>false</code>` if the authentication/authorization responses not having the HTTPS scheme are permissible; otherwise, :code:`<code>true</code>`. :paramtype require_https: bool :keyword routes: The configuration settings of the paths HTTP requests. :paramtype routes: ~azure.mgmt.appcontainers.models.HttpSettingsRoutes :keyword forward_proxy: The configuration settings of a forward proxy used to make the requests. :paramtype forward_proxy: ~azure.mgmt.appcontainers.models.ForwardProxy
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, api_prefix: Optional[str] = None, **kwargs: Any) -> None: """ :keyword api_prefix: The prefix that should precede all the authentication/authorization paths. :paramtype api_prefix: str """ super().__init__(**kwargs) self.api_prefix = api_prefix
:keyword api_prefix: The prefix that should precede all the authentication/authorization paths. :paramtype api_prefix: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, azure_active_directory: Optional["AzureActiveDirectory"] = None, facebook: Optional["Facebook"] = None, git_hub: Optional["GitHub"] = None, google: Optional["Google"] = None, twitter: Optional["Twitter"] = None, apple: Optional["Apple"] = None, azure_static_web_apps: Optional["AzureStaticWebApps"] = None, custom_open_id_connect_providers: Optional[Dict[str, "CustomOpenIdConnectProvider"]] = None, **kwargs: Any ) -> None: """ :keyword azure_active_directory: The configuration settings of the Azure Active directory provider. :paramtype azure_active_directory: ~azure.mgmt.appcontainers.models.AzureActiveDirectory :keyword facebook: The configuration settings of the Facebook provider. :paramtype facebook: ~azure.mgmt.appcontainers.models.Facebook :keyword git_hub: The configuration settings of the GitHub provider. :paramtype git_hub: ~azure.mgmt.appcontainers.models.GitHub :keyword google: The configuration settings of the Google provider. :paramtype google: ~azure.mgmt.appcontainers.models.Google :keyword twitter: The configuration settings of the Twitter provider. :paramtype twitter: ~azure.mgmt.appcontainers.models.Twitter :keyword apple: The configuration settings of the Apple provider. :paramtype apple: ~azure.mgmt.appcontainers.models.Apple :keyword azure_static_web_apps: The configuration settings of the Azure Static Web Apps provider. :paramtype azure_static_web_apps: ~azure.mgmt.appcontainers.models.AzureStaticWebApps :keyword custom_open_id_connect_providers: 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. :paramtype custom_open_id_connect_providers: dict[str, ~azure.mgmt.appcontainers.models.CustomOpenIdConnectProvider] """ super().__init__(**kwargs) self.azure_active_directory = azure_active_directory self.facebook = facebook self.git_hub = git_hub self.google = google self.twitter = twitter self.apple = apple self.azure_static_web_apps = azure_static_web_apps self.custom_open_id_connect_providers = custom_open_id_connect_providers
:keyword azure_active_directory: The configuration settings of the Azure Active directory provider. :paramtype azure_active_directory: ~azure.mgmt.appcontainers.models.AzureActiveDirectory :keyword facebook: The configuration settings of the Facebook provider. :paramtype facebook: ~azure.mgmt.appcontainers.models.Facebook :keyword git_hub: The configuration settings of the GitHub provider. :paramtype git_hub: ~azure.mgmt.appcontainers.models.GitHub :keyword google: The configuration settings of the Google provider. :paramtype google: ~azure.mgmt.appcontainers.models.Google :keyword twitter: The configuration settings of the Twitter provider. :paramtype twitter: ~azure.mgmt.appcontainers.models.Twitter :keyword apple: The configuration settings of the Apple provider. :paramtype apple: ~azure.mgmt.appcontainers.models.Apple :keyword azure_static_web_apps: The configuration settings of the Azure Static Web Apps provider. :paramtype azure_static_web_apps: ~azure.mgmt.appcontainers.models.AzureStaticWebApps :keyword custom_open_id_connect_providers: 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. :paramtype custom_open_id_connect_providers: dict[str, ~azure.mgmt.appcontainers.models.CustomOpenIdConnectProvider]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, external: bool = False, target_port: Optional[int] = None, exposed_port: Optional[int] = None, transport: Union[str, "IngressTransportMethod"] = "auto", traffic: Optional[List["TrafficWeight"]] = None, custom_domains: Optional[List["CustomDomain"]] = None, allow_insecure: bool = False, ip_security_restrictions: Optional[List["IpSecurityRestrictionRule"]] = None, sticky_sessions: Optional["IngressStickySessions"] = None, client_certificate_mode: Optional[Union[str, "IngressClientCertificateMode"]] = None, cors_policy: Optional["CorsPolicy"] = None, additional_port_mappings: Optional[List["IngressPortMapping"]] = None, **kwargs: Any ) -> None: """ :keyword external: Bool indicating if app exposes an external http endpoint. :paramtype external: bool :keyword target_port: Target Port in containers for traffic from ingress. :paramtype target_port: int :keyword exposed_port: Exposed Port in containers for TCP traffic from ingress. :paramtype exposed_port: int :keyword transport: Ingress transport protocol. Known values are: "auto", "http", "http2", and "tcp". :paramtype transport: str or ~azure.mgmt.appcontainers.models.IngressTransportMethod :keyword traffic: Traffic weights for app's revisions. :paramtype traffic: list[~azure.mgmt.appcontainers.models.TrafficWeight] :keyword custom_domains: custom domain bindings for Container Apps' hostnames. :paramtype custom_domains: list[~azure.mgmt.appcontainers.models.CustomDomain] :keyword allow_insecure: Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections. :paramtype allow_insecure: bool :keyword ip_security_restrictions: Rules to restrict incoming IP address. :paramtype ip_security_restrictions: list[~azure.mgmt.appcontainers.models.IpSecurityRestrictionRule] :keyword sticky_sessions: Sticky Sessions for Single Revision Mode. :paramtype sticky_sessions: ~azure.mgmt.appcontainers.models.IngressStickySessions :keyword client_certificate_mode: Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate. Known values are: "ignore", "accept", and "require". :paramtype client_certificate_mode: str or ~azure.mgmt.appcontainers.models.IngressClientCertificateMode :keyword cors_policy: CORS policy for container app. :paramtype cors_policy: ~azure.mgmt.appcontainers.models.CorsPolicy :keyword additional_port_mappings: Settings to expose additional ports on container app. :paramtype additional_port_mappings: list[~azure.mgmt.appcontainers.models.IngressPortMapping] """ super().__init__(**kwargs) self.fqdn = None self.external = external self.target_port = target_port self.exposed_port = exposed_port self.transport = transport self.traffic = traffic self.custom_domains = custom_domains self.allow_insecure = allow_insecure self.ip_security_restrictions = ip_security_restrictions self.sticky_sessions = sticky_sessions self.client_certificate_mode = client_certificate_mode self.cors_policy = cors_policy self.additional_port_mappings = additional_port_mappings
:keyword external: Bool indicating if app exposes an external http endpoint. :paramtype external: bool :keyword target_port: Target Port in containers for traffic from ingress. :paramtype target_port: int :keyword exposed_port: Exposed Port in containers for TCP traffic from ingress. :paramtype exposed_port: int :keyword transport: Ingress transport protocol. Known values are: "auto", "http", "http2", and "tcp". :paramtype transport: str or ~azure.mgmt.appcontainers.models.IngressTransportMethod :keyword traffic: Traffic weights for app's revisions. :paramtype traffic: list[~azure.mgmt.appcontainers.models.TrafficWeight] :keyword custom_domains: custom domain bindings for Container Apps' hostnames. :paramtype custom_domains: list[~azure.mgmt.appcontainers.models.CustomDomain] :keyword allow_insecure: Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections. :paramtype allow_insecure: bool :keyword ip_security_restrictions: Rules to restrict incoming IP address. :paramtype ip_security_restrictions: list[~azure.mgmt.appcontainers.models.IpSecurityRestrictionRule] :keyword sticky_sessions: Sticky Sessions for Single Revision Mode. :paramtype sticky_sessions: ~azure.mgmt.appcontainers.models.IngressStickySessions :keyword client_certificate_mode: Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate. Known values are: "ignore", "accept", and "require". :paramtype client_certificate_mode: str or ~azure.mgmt.appcontainers.models.IngressClientCertificateMode :keyword cors_policy: CORS policy for container app. :paramtype cors_policy: ~azure.mgmt.appcontainers.models.CorsPolicy :keyword additional_port_mappings: Settings to expose additional ports on container app. :paramtype additional_port_mappings: list[~azure.mgmt.appcontainers.models.IngressPortMapping]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, external: bool, target_port: int, exposed_port: Optional[int] = None, **kwargs: Any) -> None: """ :keyword external: Specifies whether the app port is accessible outside of the environment. Required. :paramtype external: bool :keyword target_port: Specifies the port user's container listens on. Required. :paramtype target_port: int :keyword exposed_port: Specifies the exposed port for the target port. If not specified, it defaults to target port. :paramtype exposed_port: int """ super().__init__(**kwargs) self.external = external self.target_port = target_port self.exposed_port = exposed_port
:keyword external: Specifies whether the app port is accessible outside of the environment. Required. :paramtype external: bool :keyword target_port: Specifies the port user's container listens on. Required. :paramtype target_port: int :keyword exposed_port: Specifies the exposed port for the target port. If not specified, it defaults to target port. :paramtype exposed_port: int
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, affinity: Optional[Union[str, "Affinity"]] = None, **kwargs: Any) -> None: """ :keyword affinity: Sticky Session Affinity. Known values are: "sticky" and "none". :paramtype affinity: str or ~azure.mgmt.appcontainers.models.Affinity """ super().__init__(**kwargs) self.affinity = affinity
:keyword affinity: Sticky Session Affinity. Known values are: "sticky" and "none". :paramtype affinity: str or ~azure.mgmt.appcontainers.models.Affinity
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: str, ip_address_range: str, action: Union[str, "Action"], description: Optional[str] = None, **kwargs: Any ) -> None: """ :keyword name: Name for the IP restriction rule. Required. :paramtype name: str :keyword description: Describe the IP restriction rule that is being sent to the container-app. This is an optional field. :paramtype description: str :keyword ip_address_range: CIDR notation to match incoming IP address. Required. :paramtype ip_address_range: str :keyword action: Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny. Required. Known values are: "Allow" and "Deny". :paramtype action: str or ~azure.mgmt.appcontainers.models.Action """ super().__init__(**kwargs) self.name = name self.description = description self.ip_address_range = ip_address_range self.action = action
:keyword name: Name for the IP restriction rule. Required. :paramtype name: str :keyword description: Describe the IP restriction rule that is being sent to the container-app. This is an optional field. :paramtype description: str :keyword ip_address_range: CIDR notation to match incoming IP address. Required. :paramtype ip_address_range: str :keyword action: Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny. Required. Known values are: "Allow" and "Deny". :paramtype action: str or ~azure.mgmt.appcontainers.models.Action
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional["ManagedServiceIdentity"] = None, environment_id: Optional[str] = None, workload_profile_name: Optional[str] = None, configuration: Optional["JobConfiguration"] = None, template: Optional["JobTemplate"] = None, **kwargs: Any ) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword identity: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword environment_id: Resource ID of environment. :paramtype environment_id: str :keyword workload_profile_name: Workload profile name to pin for container apps job execution. :paramtype workload_profile_name: str :keyword configuration: Container Apps Job configuration properties. :paramtype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration :keyword template: Container Apps job definition. :paramtype template: ~azure.mgmt.appcontainers.models.JobTemplate """ super().__init__(tags=tags, location=location, **kwargs) self.identity = identity self.provisioning_state = None self.environment_id = environment_id self.workload_profile_name = workload_profile_name self.configuration = configuration self.template = template self.outbound_ip_addresses = None self.event_stream_endpoint = None
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword identity: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword environment_id: Resource ID of environment. :paramtype environment_id: str :keyword workload_profile_name: Workload profile name to pin for container apps job execution. :paramtype workload_profile_name: str :keyword configuration: Container Apps Job configuration properties. :paramtype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration :keyword template: Container Apps job definition. :paramtype template: ~azure.mgmt.appcontainers.models.JobTemplate
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional["ManagedServiceIdentity"] = None, environment_id: Optional[str] = None, workload_profile_name: Optional[str] = None, configuration: Optional["JobConfiguration"] = None, template: Optional["JobTemplate"] = None, **kwargs: Any ) -> None: """ :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword identity: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword environment_id: Resource ID of environment. :paramtype environment_id: str :keyword workload_profile_name: Workload profile name to pin for container apps job execution. :paramtype workload_profile_name: str :keyword configuration: Container Apps Job configuration properties. :paramtype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration :keyword template: Container Apps job definition. :paramtype template: ~azure.mgmt.appcontainers.models.JobTemplate """ super().__init__(tags=tags, location=location, **kwargs) self.identity = identity self.provisioning_state = None self.environment_id = environment_id self.workload_profile_name = workload_profile_name self.configuration = configuration self.template = template self.outbound_ip_addresses = None self.event_stream_endpoint = None
:keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword identity: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword environment_id: Resource ID of environment. :paramtype environment_id: str :keyword workload_profile_name: Workload profile name to pin for container apps job execution. :paramtype workload_profile_name: str :keyword configuration: Container Apps Job configuration properties. :paramtype configuration: ~azure.mgmt.appcontainers.models.JobConfiguration :keyword template: Container Apps job definition. :paramtype template: ~azure.mgmt.appcontainers.models.JobTemplate
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, trigger_type: Union[str, "TriggerType"] = "Manual", replica_timeout: int, secrets: Optional[List["Secret"]] = None, replica_retry_limit: Optional[int] = None, manual_trigger_config: Optional["JobConfigurationManualTriggerConfig"] = None, schedule_trigger_config: Optional["JobConfigurationScheduleTriggerConfig"] = None, event_trigger_config: Optional["JobConfigurationEventTriggerConfig"] = None, registries: Optional[List["RegistryCredentials"]] = None, **kwargs: Any ) -> None: """ :keyword secrets: Collection of secrets used by a Container Apps Job. :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] :keyword trigger_type: Trigger type of the job. Known values are: "Schedule", "Event", and "Manual". :paramtype trigger_type: str or ~azure.mgmt.appcontainers.models.TriggerType :keyword replica_timeout: Maximum number of seconds a replica is allowed to run. Required. :paramtype replica_timeout: int :keyword replica_retry_limit: Maximum number of retries before failing the job. :paramtype replica_retry_limit: int :keyword manual_trigger_config: Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default. :paramtype manual_trigger_config: ~azure.mgmt.appcontainers.models.JobConfigurationManualTriggerConfig :keyword schedule_trigger_config: Cron formatted repeating trigger schedule ("\\ * * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default. :paramtype schedule_trigger_config: ~azure.mgmt.appcontainers.models.JobConfigurationScheduleTriggerConfig :keyword event_trigger_config: Trigger configuration of an event driven job. :paramtype event_trigger_config: ~azure.mgmt.appcontainers.models.JobConfigurationEventTriggerConfig :keyword registries: Collection of private container registry credentials used by a Container apps job. :paramtype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials] """ super().__init__(**kwargs) self.secrets = secrets self.trigger_type = trigger_type self.replica_timeout = replica_timeout self.replica_retry_limit = replica_retry_limit self.manual_trigger_config = manual_trigger_config self.schedule_trigger_config = schedule_trigger_config self.event_trigger_config = event_trigger_config self.registries = registries
:keyword secrets: Collection of secrets used by a Container Apps Job. :paramtype secrets: list[~azure.mgmt.appcontainers.models.Secret] :keyword trigger_type: Trigger type of the job. Known values are: "Schedule", "Event", and "Manual". :paramtype trigger_type: str or ~azure.mgmt.appcontainers.models.TriggerType :keyword replica_timeout: Maximum number of seconds a replica is allowed to run. Required. :paramtype replica_timeout: int :keyword replica_retry_limit: Maximum number of retries before failing the job. :paramtype replica_retry_limit: int :keyword manual_trigger_config: Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default. :paramtype manual_trigger_config: ~azure.mgmt.appcontainers.models.JobConfigurationManualTriggerConfig :keyword schedule_trigger_config: Cron formatted repeating trigger schedule ("\\ * * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default. :paramtype schedule_trigger_config: ~azure.mgmt.appcontainers.models.JobConfigurationScheduleTriggerConfig :keyword event_trigger_config: Trigger configuration of an event driven job. :paramtype event_trigger_config: ~azure.mgmt.appcontainers.models.JobConfigurationEventTriggerConfig :keyword registries: Collection of private container registry credentials used by a Container apps job. :paramtype registries: list[~azure.mgmt.appcontainers.models.RegistryCredentials]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, replica_completion_count: Optional[int] = None, parallelism: Optional[int] = None, scale: Optional["JobScale"] = None, **kwargs: Any ) -> None: """ :keyword replica_completion_count: Minimum number of successful replica completions before overall job completion. :paramtype replica_completion_count: int :keyword parallelism: Number of parallel replicas of a job that can run at a given time. :paramtype parallelism: int :keyword scale: Scaling configurations for event driven jobs. :paramtype scale: ~azure.mgmt.appcontainers.models.JobScale """ super().__init__(**kwargs) self.replica_completion_count = replica_completion_count self.parallelism = parallelism self.scale = scale
:keyword replica_completion_count: Minimum number of successful replica completions before overall job completion. :paramtype replica_completion_count: int :keyword parallelism: Number of parallel replicas of a job that can run at a given time. :paramtype parallelism: int :keyword scale: Scaling configurations for event driven jobs. :paramtype scale: ~azure.mgmt.appcontainers.models.JobScale
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, replica_completion_count: Optional[int] = None, parallelism: Optional[int] = None, **kwargs: Any ) -> None: """ :keyword replica_completion_count: Minimum number of successful replica completions before overall job completion. :paramtype replica_completion_count: int :keyword parallelism: Number of parallel replicas of a job that can run at a given time. :paramtype parallelism: int """ super().__init__(**kwargs) self.replica_completion_count = replica_completion_count self.parallelism = parallelism
:keyword replica_completion_count: Minimum number of successful replica completions before overall job completion. :paramtype replica_completion_count: int :keyword parallelism: Number of parallel replicas of a job that can run at a given time. :paramtype parallelism: int
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, cron_expression: str, replica_completion_count: Optional[int] = None, parallelism: Optional[int] = None, **kwargs: Any ) -> None: """ :keyword replica_completion_count: Minimum number of successful replica completions before overall job completion. :paramtype replica_completion_count: int :keyword cron_expression: Cron formatted repeating schedule ("\\ * * * * *") of a Cron Job. Required. :paramtype cron_expression: str :keyword parallelism: Number of parallel replicas of a job that can run at a given time. :paramtype parallelism: int """ super().__init__(**kwargs) self.replica_completion_count = replica_completion_count self.cron_expression = cron_expression self.parallelism = parallelism
:keyword replica_completion_count: Minimum number of successful replica completions before overall job completion. :paramtype replica_completion_count: int :keyword cron_expression: Cron formatted repeating schedule ("\\ * * * * *") of a Cron Job. Required. :paramtype cron_expression: str :keyword parallelism: Number of parallel replicas of a job that can run at a given time. :paramtype parallelism: int
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: Optional[str] = None, id: Optional[str] = None, # pylint: disable=redefined-builtin type: Optional[str] = None, start_time: Optional[datetime.datetime] = None, end_time: Optional[datetime.datetime] = None, template: Optional["JobExecutionTemplate"] = None, **kwargs: Any ) -> None: """ :keyword name: Job execution Name. :paramtype name: str :keyword id: Job execution Id. :paramtype id: str :keyword type: Job execution type. :paramtype type: str :keyword start_time: Job execution start time. :paramtype start_time: ~datetime.datetime :keyword end_time: Job execution end time. :paramtype end_time: ~datetime.datetime :keyword template: Job's execution container. :paramtype template: ~azure.mgmt.appcontainers.models.JobExecutionTemplate """ super().__init__(**kwargs) self.name = name self.id = id self.type = type self.status = None self.start_time = start_time self.end_time = end_time self.template = template
:keyword name: Job execution Name. :paramtype name: str :keyword id: Job execution Id. :paramtype id: str :keyword type: Job execution type. :paramtype type: str :keyword start_time: Job execution start time. :paramtype start_time: ~datetime.datetime :keyword end_time: Job execution end time. :paramtype end_time: ~datetime.datetime :keyword template: Job's execution container. :paramtype template: ~azure.mgmt.appcontainers.models.JobExecutionTemplate
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, name: Optional[str] = None, id: Optional[str] = None, # pylint: disable=redefined-builtin **kwargs: Any ) -> None: """ :keyword name: Job execution name. :paramtype name: str :keyword id: Job execution Id. :paramtype id: str """ super().__init__(**kwargs) self.name = name self.id = id
:keyword name: Job execution name. :paramtype name: str :keyword id: Job execution Id. :paramtype id: str
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, image: Optional[str] = None, name: Optional[str] = None, command: Optional[List[str]] = None, args: Optional[List[str]] = None, env: Optional[List["EnvironmentVar"]] = None, resources: Optional["ContainerResources"] = None, **kwargs: Any ) -> None: """ :keyword image: Container image tag. :paramtype image: str :keyword name: Custom container name. :paramtype name: str :keyword command: Container start command. :paramtype command: list[str] :keyword args: Container start command arguments. :paramtype args: list[str] :keyword env: Container environment variables. :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] :keyword resources: Container resource requirements. :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources """ super().__init__(**kwargs) self.image = image self.name = name self.command = command self.args = args self.env = env self.resources = resources
:keyword image: Container image tag. :paramtype image: str :keyword name: Custom container name. :paramtype name: str :keyword command: Container start command. :paramtype command: list[str] :keyword args: Container start command arguments. :paramtype args: list[str] :keyword env: Container environment variables. :paramtype env: list[~azure.mgmt.appcontainers.models.EnvironmentVar] :keyword resources: Container resource requirements. :paramtype resources: ~azure.mgmt.appcontainers.models.ContainerResources
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__(self, *, value: List["JobExecutionBase"], **kwargs: Any) -> None: """ :keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.JobExecutionBase] """ super().__init__(**kwargs) self.value = value
:keyword value: Collection of resources. Required. :paramtype value: list[~azure.mgmt.appcontainers.models.JobExecutionBase]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, containers: Optional[List["JobExecutionContainer"]] = None, init_containers: Optional[List["JobExecutionContainer"]] = None, **kwargs: Any ) -> None: """ :keyword containers: List of container definitions for the Container Apps Job. :paramtype containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] :keyword init_containers: List of specialized containers that run before job containers. :paramtype init_containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] """ super().__init__(**kwargs) self.containers = containers self.init_containers = init_containers
:keyword containers: List of container definitions for the Container Apps Job. :paramtype containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer] :keyword init_containers: List of specialized containers that run before job containers. :paramtype init_containers: list[~azure.mgmt.appcontainers.models.JobExecutionContainer]
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT
def __init__( self, *, identity: Optional["ManagedServiceIdentity"] = None, tags: Optional[Dict[str, str]] = None, properties: Optional["JobPatchPropertiesProperties"] = None, **kwargs: Any ) -> None: """ :keyword identity: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword properties: :paramtype properties: ~azure.mgmt.appcontainers.models.JobPatchPropertiesProperties """ super().__init__(**kwargs) self.identity = identity self.tags = tags self.properties = properties
:keyword identity: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. :paramtype identity: ~azure.mgmt.appcontainers.models.ManagedServiceIdentity :keyword tags: Resource tags. :paramtype tags: dict[str, str] :keyword properties: :paramtype properties: ~azure.mgmt.appcontainers.models.JobPatchPropertiesProperties
__init__
python
Azure/azure-cli
src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
https://github.com/Azure/azure-cli/blob/master/src/azure-cli/azure/cli/command_modules/containerapp/_sdk_models.py
MIT