in src/providerhub/azext_providerhub/aaz/latest/providerhub/default_rollout/_create.py [0:0]
def _build_arguments_schema(cls, *args, **kwargs):
if cls._args_schema is not None:
return cls._args_schema
cls._args_schema = super()._build_arguments_schema(*args, **kwargs)
# define Arg Group ""
_args_schema = cls._args_schema
_args_schema.provider_namespace = AAZStrArg(
options=["--provider-namespace"],
help="The name of the resource provider hosted within ProviderHub.",
required=True,
)
_args_schema.rollout_name = AAZStrArg(
options=["-n", "--name", "--rollout-name"],
help="The rollout name.",
required=True,
fmt=AAZStrArgFormat(
pattern="^[-\w\._\(\)]+$",
max_length=260,
),
)
# define Arg Group "ManifestCheckinSpecification"
_args_schema = cls._args_schema
_args_schema.manifest_checkin_option = AAZStrArg(
options=["--checkin-option", "--manifest-checkin-option"],
arg_group="ManifestCheckinSpecification",
help="The manifest checkin option.",
default="DoNotAttemptAutomaticManifestCheckin",
enum={"AttemptAutomaticManifestCheckin": "AttemptAutomaticManifestCheckin", "DoNotAttemptAutomaticManifestCheckin": "DoNotAttemptAutomaticManifestCheckin"},
)
_args_schema.manifest_checkin_params = AAZObjectArg(
options=["--checkin-params", "--manifest-checkin-params"],
arg_group="ManifestCheckinSpecification",
help="The manifest checkin params.",
)
manifest_checkin_params = cls._args_schema.manifest_checkin_params
manifest_checkin_params.baseline_arm_manifest_location = AAZStrArg(
options=["baseline-arm-manifest-location"],
help="The baseline ARM manifest location supplied to the checkin manifest operation.",
required=True,
default="EastUS2EUAP",
)
manifest_checkin_params.environment = AAZStrArg(
options=["environment"],
help="The environment supplied to the checkin manifest operation.",
required=True,
)
# define Arg Group "Properties"
_args_schema = cls._args_schema
_args_schema.status = AAZObjectArg(
options=["--status"],
arg_group="Properties",
)
status = cls._args_schema.status
status.completed_regions = AAZListArg(
options=["completed-regions"],
)
status.failed_or_skipped_regions = AAZDictArg(
options=["failed-or-skipped-regions"],
)
status.manifest_checkin_status = AAZObjectArg(
options=["manifest-checkin-status"],
)
status.next_traffic_region = AAZStrArg(
options=["next-traffic-region"],
enum={"Canary": "Canary", "HighTraffic": "HighTraffic", "LowTraffic": "LowTraffic", "MediumTraffic": "MediumTraffic", "None": "None", "NotSpecified": "NotSpecified", "RestOfTheWorldGroupOne": "RestOfTheWorldGroupOne", "RestOfTheWorldGroupTwo": "RestOfTheWorldGroupTwo"},
)
status.next_traffic_region_scheduled_time = AAZDateTimeArg(
options=["next-traffic-region-scheduled-time"],
)
status.subscription_reregistration_result = AAZStrArg(
options=["subscription-reregistration-result"],
enum={"ConditionalUpdate": "ConditionalUpdate", "Failed": "Failed", "ForcedUpdate": "ForcedUpdate", "NotApplicable": "NotApplicable"},
)
completed_regions = cls._args_schema.status.completed_regions
completed_regions.Element = AAZStrArg()
failed_or_skipped_regions = cls._args_schema.status.failed_or_skipped_regions
failed_or_skipped_regions.Element = AAZObjectArg()
cls._build_args_extended_error_info_create(failed_or_skipped_regions.Element)
manifest_checkin_status = cls._args_schema.status.manifest_checkin_status
manifest_checkin_status.commit_id = AAZStrArg(
options=["commit-id"],
)
manifest_checkin_status.is_checked_in = AAZBoolArg(
options=["is-checked-in"],
required=True,
)
manifest_checkin_status.pull_request = AAZStrArg(
options=["pull-request"],
)
manifest_checkin_status.status_message = AAZStrArg(
options=["status-message"],
required=True,
)
# define Arg Group "Specification"
_args_schema = cls._args_schema
_args_schema.auto_provision_config = AAZObjectArg(
options=["--auto-provision-config"],
arg_group="Specification",
)
_args_schema.canary = AAZObjectArg(
options=["--canary"],
arg_group="Specification",
help="The canary regions to skip.",
)
_args_schema.expedited_rollout = AAZObjectArg(
options=["--expedited-rollout"],
arg_group="Specification",
)
_args_schema.high_traffic = AAZObjectArg(
options=["--high-traffic"],
arg_group="Specification",
)
_args_schema.low_traffic = AAZObjectArg(
options=["--low-traffic"],
arg_group="Specification",
)
_args_schema.medium_traffic = AAZObjectArg(
options=["--medium-traffic"],
arg_group="Specification",
)
_args_schema.provider_registration = AAZObjectArg(
options=["--provider-registration"],
arg_group="Specification",
)
_args_schema.resource_type_registrations = AAZListArg(
options=["--rt-regs", "--resource-type-registrations"],
arg_group="Specification",
help="The resource type registrations.",
)
_args_schema.rest_of_the_world_group_one = AAZObjectArg(
options=["--row1", "--rest-of-the-world-group-one"],
arg_group="Specification",
help="The rest of the world group one options.",
)
_args_schema.rest_of_the_world_group_two = AAZObjectArg(
options=["--row2", "--rest-of-the-world-group-two"],
arg_group="Specification",
help="The rest of the world group two options.",
)
auto_provision_config = cls._args_schema.auto_provision_config
auto_provision_config.resource_graph = AAZBoolArg(
options=["resource-graph"],
)
auto_provision_config.storage = AAZBoolArg(
options=["storage"],
)
canary = cls._args_schema.canary
canary.regions = AAZListArg(
options=["regions"],
)
canary.skip_regions = AAZListArg(
options=["skip-regions"],
help="The canary skip regions.",
)
regions = cls._args_schema.canary.regions
regions.Element = AAZStrArg()
skip_regions = cls._args_schema.canary.skip_regions
skip_regions.Element = AAZStrArg()
expedited_rollout = cls._args_schema.expedited_rollout
expedited_rollout.enabled = AAZBoolArg(
options=["enabled"],
help="Indicates whether expedited rollout is enabled/disabled",
)
high_traffic = cls._args_schema.high_traffic
high_traffic.regions = AAZListArg(
options=["regions"],
)
high_traffic.wait_duration = AAZDurationArg(
options=["wait-duration"],
)
regions = cls._args_schema.high_traffic.regions
regions.Element = AAZStrArg()
low_traffic = cls._args_schema.low_traffic
low_traffic.regions = AAZListArg(
options=["regions"],
)
low_traffic.wait_duration = AAZDurationArg(
options=["wait-duration"],
)
regions = cls._args_schema.low_traffic.regions
regions.Element = AAZStrArg()
medium_traffic = cls._args_schema.medium_traffic
medium_traffic.regions = AAZListArg(
options=["regions"],
)
medium_traffic.wait_duration = AAZDurationArg(
options=["wait-duration"],
)
regions = cls._args_schema.medium_traffic.regions
regions.Element = AAZStrArg()
provider_registration = cls._args_schema.provider_registration
provider_registration.kind = AAZStrArg(
options=["kind"],
help="Provider registration kind. This Metadata is also used by portal/tooling/etc to render different UX experiences for resources of the same type.",
default="Managed",
enum={"Direct": "Direct", "Hybrid": "Hybrid", "Managed": "Managed"},
)
provider_registration.capabilities = AAZListArg(
options=["capabilities"],
)
provider_registration.cross_tenant_token_validation = AAZStrArg(
options=["cross-tenant-token-validation"],
enum={"EnsureSecureValidation": "EnsureSecureValidation", "PassthroughInsecureToken": "PassthroughInsecureToken"},
)
provider_registration.custom_manifest_version = AAZStrArg(
options=["custom-manifest-version"],
help="Custom manifest version.",
)
provider_registration.dsts_configuration = AAZObjectArg(
options=["dsts-configuration"],
)
provider_registration.enable_tenant_linked_notification = AAZBoolArg(
options=["enable-tenant-linked-notification"],
nullable=True,
)
provider_registration.features_rule = AAZObjectArg(
options=["features-rule"],
)
provider_registration.global_notification_endpoints = AAZListArg(
options=["global-notification-endpoints"],
)
provider_registration.legacy_namespace = AAZStrArg(
options=["legacy-namespace"],
help="Legacy namespace.",
)
provider_registration.legacy_registrations = AAZListArg(
options=["legacy-registrations"],
help="Legacy registrations.",
)
provider_registration.linked_notification_rules = AAZListArg(
options=["linked-notification-rules"],
)
provider_registration.management = AAZObjectArg(
options=["management"],
)
provider_registration.management_group_global_notification_endpoints = AAZListArg(
options=["management-group-global-notification-endpoints"],
help="Management groups global notification endpoints.",
)
provider_registration.metadata = AAZFreeFormDictArg(
options=["metadata"],
)
provider_registration.namespace = AAZStrArg(
options=["namespace"],
)
provider_registration.notification_options = AAZStrArg(
options=["notification-options"],
help="Notification options.",
enum={"EmitSpendingLimit": "EmitSpendingLimit", "None": "None", "NotSpecified": "NotSpecified"},
)
provider_registration.notification_settings = AAZObjectArg(
options=["notification-settings"],
help="Notification settings.",
)
provider_registration.notifications = AAZListArg(
options=["notifications"],
)
cls._build_args_notifications_create(provider_registration.notifications)
provider_registration.optional_features = AAZListArg(
options=["optional-features"],
help="Optional features.",
)
provider_registration.private_resource_provider_configuration = AAZObjectArg(
options=["private-resource-provider-configuration"],
)
provider_registration.provider_authentication = AAZObjectArg(
options=["provider-authentication"],
)
provider_registration.provider_authorizations = AAZListArg(
options=["provider-authorizations"],
)
provider_registration.provider_hub_metadata = AAZObjectArg(
options=["provider-hub-metadata"],
)
provider_registration.provider_type = AAZStrArg(
options=["provider-type"],
enum={"AuthorizationFree": "AuthorizationFree", "External": "External", "Hidden": "Hidden", "Internal": "Internal", "LegacyRegistrationRequired": "LegacyRegistrationRequired", "NotSpecified": "NotSpecified", "RegistrationFree": "RegistrationFree", "TenantOnly": "TenantOnly"},
)
provider_registration.provider_version = AAZStrArg(
options=["provider-version"],
)
provider_registration.request_header_options = AAZObjectArg(
options=["request-header-options"],
)
provider_registration.required_features = AAZListArg(
options=["required-features"],
)
provider_registration.resource_group_lock_option_during_move = AAZObjectArg(
options=["resource-group-lock-option-during-move"],
help="Resource group lock option during move.",
)
provider_registration.resource_hydration_accounts = AAZListArg(
options=["resource-hydration-accounts"],
help="resource hydration accounts",
)
provider_registration.resource_provider_authorization_rules = AAZObjectArg(
options=["resource-provider-authorization-rules"],
)
cls._build_args_resource_provider_authorization_rules_create(provider_registration.resource_provider_authorization_rules)
provider_registration.response_options = AAZObjectArg(
options=["response-options"],
help="Response options.",
)
provider_registration.service_name = AAZStrArg(
options=["service-name"],
)
provider_registration.services = AAZListArg(
options=["services"],
)
provider_registration.subscription_lifecycle_notification_specifications = AAZObjectArg(
options=["subscription-lifecycle-notification-specifications"],
)
provider_registration.template_deployment_options = AAZObjectArg(
options=["template-deployment-options"],
)
provider_registration.token_auth_configuration = AAZObjectArg(
options=["token-auth-configuration"],
)
cls._build_args_token_auth_configuration_create(provider_registration.token_auth_configuration)
capabilities = cls._args_schema.provider_registration.capabilities
capabilities.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.capabilities.Element
_element.effect = AAZStrArg(
options=["effect"],
required=True,
enum={"Allow": "Allow", "Disallow": "Disallow", "NotSpecified": "NotSpecified"},
)
_element.quota_id = AAZStrArg(
options=["quota-id"],
required=True,
)
_element.required_features = AAZListArg(
options=["required-features"],
)
required_features = cls._args_schema.provider_registration.capabilities.Element.required_features
required_features.Element = AAZStrArg()
dsts_configuration = cls._args_schema.provider_registration.dsts_configuration
dsts_configuration.service_dns_name = AAZStrArg(
options=["service-dns-name"],
)
dsts_configuration.service_name = AAZStrArg(
options=["service-name"],
required=True,
)
features_rule = cls._args_schema.provider_registration.features_rule
features_rule.required_features_policy = AAZStrArg(
options=["required-features-policy"],
required=True,
enum={"All": "All", "Any": "Any"},
)
global_notification_endpoints = cls._args_schema.provider_registration.global_notification_endpoints
global_notification_endpoints.Element = AAZObjectArg()
cls._build_args_resource_provider_endpoint_create(global_notification_endpoints.Element)
legacy_registrations = cls._args_schema.provider_registration.legacy_registrations
legacy_registrations.Element = AAZStrArg()
linked_notification_rules = cls._args_schema.provider_registration.linked_notification_rules
linked_notification_rules.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.linked_notification_rules.Element
_element.actions = AAZListArg(
options=["actions"],
)
_element.dsts_configuration = AAZObjectArg(
options=["dsts-configuration"],
)
_element.endpoints = AAZListArg(
options=["endpoints"],
)
_element.token_auth_configuration = AAZObjectArg(
options=["token-auth-configuration"],
)
cls._build_args_token_auth_configuration_create(_element.token_auth_configuration)
actions = cls._args_schema.provider_registration.linked_notification_rules.Element.actions
actions.Element = AAZStrArg()
dsts_configuration = cls._args_schema.provider_registration.linked_notification_rules.Element.dsts_configuration
dsts_configuration.service_dns_name = AAZStrArg(
options=["service-dns-name"],
)
dsts_configuration.service_name = AAZStrArg(
options=["service-name"],
required=True,
)
endpoints = cls._args_schema.provider_registration.linked_notification_rules.Element.endpoints
endpoints.Element = AAZObjectArg()
cls._build_args_resource_provider_endpoint_create(endpoints.Element)
management = cls._args_schema.provider_registration.management
management.authorization_owners = AAZListArg(
options=["authorization-owners"],
)
management.canary_manifest_owners = AAZListArg(
options=["canary-manifest-owners"],
help="List of manifest owners for canary.",
)
management.error_response_message_options = AAZObjectArg(
options=["error-response-message-options"],
help="Options for error response messages.",
)
management.expedited_rollout_metadata = AAZObjectArg(
options=["expedited-rollout-metadata"],
help="Metadata for expedited rollout.",
)
management.expedited_rollout_submitters = AAZListArg(
options=["expedited-rollout-submitters"],
help="List of expedited rollout submitters.",
)
management.incident_contact_email = AAZStrArg(
options=["incident-contact-email"],
)
management.incident_routing_service = AAZStrArg(
options=["incident-routing-service"],
)
management.incident_routing_team = AAZStrArg(
options=["incident-routing-team"],
)
management.manifest_owners = AAZListArg(
options=["manifest-owners"],
)
management.pc_code = AAZStrArg(
options=["pc-code"],
help="The profit center code for the subscription.",
)
management.profit_center_program_id = AAZStrArg(
options=["profit-center-program-id"],
help="The profit center program id for the subscription.",
)
management.resource_access_policy = AAZStrArg(
options=["resource-access-policy"],
enum={"AcisActionAllowed": "AcisActionAllowed", "AcisReadAllowed": "AcisReadAllowed", "NotSpecified": "NotSpecified"},
)
management.resource_access_roles = AAZListArg(
options=["resource-access-roles"],
)
management.schema_owners = AAZListArg(
options=["schema-owners"],
)
management.service_tree_infos = AAZListArg(
options=["service-tree-infos"],
)
authorization_owners = cls._args_schema.provider_registration.management.authorization_owners
authorization_owners.Element = AAZStrArg()
canary_manifest_owners = cls._args_schema.provider_registration.management.canary_manifest_owners
canary_manifest_owners.Element = AAZStrArg()
error_response_message_options = cls._args_schema.provider_registration.management.error_response_message_options
error_response_message_options.server_failure_response_message_type = AAZStrArg(
options=["server-failure-response-message-type"],
help="Type of server failure response message.",
enum={"NotSpecified": "NotSpecified", "OutageReporting": "OutageReporting"},
)
expedited_rollout_metadata = cls._args_schema.provider_registration.management.expedited_rollout_metadata
expedited_rollout_metadata.enabled = AAZBoolArg(
options=["enabled"],
help="Expedited rollout enabled?",
)
expedited_rollout_metadata.expedited_rollout_intent = AAZStrArg(
options=["expedited-rollout-intent"],
help="Expedited rollout intent.",
enum={"Hotfix": "Hotfix", "NotSpecified": "NotSpecified"},
)
expedited_rollout_submitters = cls._args_schema.provider_registration.management.expedited_rollout_submitters
expedited_rollout_submitters.Element = AAZStrArg()
manifest_owners = cls._args_schema.provider_registration.management.manifest_owners
manifest_owners.Element = AAZStrArg()
resource_access_roles = cls._args_schema.provider_registration.management.resource_access_roles
resource_access_roles.Element = AAZObjectArg()
cls._build_args_resource_access_role_create(resource_access_roles.Element)
schema_owners = cls._args_schema.provider_registration.management.schema_owners
schema_owners.Element = AAZStrArg()
service_tree_infos = cls._args_schema.provider_registration.management.service_tree_infos
service_tree_infos.Element = AAZObjectArg()
cls._build_args_service_tree_info_create(service_tree_infos.Element)
management_group_global_notification_endpoints = cls._args_schema.provider_registration.management_group_global_notification_endpoints
management_group_global_notification_endpoints.Element = AAZObjectArg()
cls._build_args_resource_provider_endpoint_create(management_group_global_notification_endpoints.Element)
notification_settings = cls._args_schema.provider_registration.notification_settings
notification_settings.subscriber_settings = AAZListArg(
options=["subscriber-settings"],
)
subscriber_settings = cls._args_schema.provider_registration.notification_settings.subscriber_settings
subscriber_settings.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.notification_settings.subscriber_settings.Element
_element.filter_rules = AAZListArg(
options=["filter-rules"],
)
filter_rules = cls._args_schema.provider_registration.notification_settings.subscriber_settings.Element.filter_rules
filter_rules.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.notification_settings.subscriber_settings.Element.filter_rules.Element
_element.endpoint_information = AAZListArg(
options=["endpoint-information"],
)
_element.filter_query = AAZStrArg(
options=["filter-query"],
)
endpoint_information = cls._args_schema.provider_registration.notification_settings.subscriber_settings.Element.filter_rules.Element.endpoint_information
endpoint_information.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.notification_settings.subscriber_settings.Element.filter_rules.Element.endpoint_information.Element
_element.endpoint = AAZStrArg(
options=["endpoint"],
)
_element.endpoint_type = AAZStrArg(
options=["endpoint-type"],
enum={"Eventhub": "Eventhub", "Webhook": "Webhook"},
)
_element.schema_version = AAZStrArg(
options=["schema-version"],
)
optional_features = cls._args_schema.provider_registration.optional_features
optional_features.Element = AAZStrArg()
private_resource_provider_configuration = cls._args_schema.provider_registration.private_resource_provider_configuration
private_resource_provider_configuration.allowed_subscriptions = AAZListArg(
options=["allowed-subscriptions"],
)
allowed_subscriptions = cls._args_schema.provider_registration.private_resource_provider_configuration.allowed_subscriptions
allowed_subscriptions.Element = AAZStrArg()
provider_authentication = cls._args_schema.provider_registration.provider_authentication
provider_authentication.allowed_audiences = AAZListArg(
options=["allowed-audiences"],
required=True,
)
allowed_audiences = cls._args_schema.provider_registration.provider_authentication.allowed_audiences
allowed_audiences.Element = AAZStrArg()
provider_authorizations = cls._args_schema.provider_registration.provider_authorizations
provider_authorizations.Element = AAZObjectArg()
cls._build_args_resource_provider_authorization_create(provider_authorizations.Element)
provider_hub_metadata = cls._args_schema.provider_registration.provider_hub_metadata
provider_hub_metadata.direct_rp_role_definition_id = AAZStrArg(
options=["direct-rp-role-definition-id"],
)
provider_hub_metadata.global_async_operation_resource_type_name = AAZStrArg(
options=["global-async-operation-resource-type-name"],
)
provider_hub_metadata.provider_authentication = AAZObjectArg(
options=["provider-authentication"],
)
provider_hub_metadata.provider_authorizations = AAZListArg(
options=["provider-authorizations"],
)
provider_hub_metadata.regional_async_operation_resource_type_name = AAZStrArg(
options=["regional-async-operation-resource-type-name"],
)
provider_hub_metadata.third_party_provider_authorization = AAZObjectArg(
options=["third-party-provider-authorization"],
)
provider_authentication = cls._args_schema.provider_registration.provider_hub_metadata.provider_authentication
provider_authentication.allowed_audiences = AAZListArg(
options=["allowed-audiences"],
required=True,
)
allowed_audiences = cls._args_schema.provider_registration.provider_hub_metadata.provider_authentication.allowed_audiences
allowed_audiences.Element = AAZStrArg()
provider_authorizations = cls._args_schema.provider_registration.provider_hub_metadata.provider_authorizations
provider_authorizations.Element = AAZObjectArg()
cls._build_args_resource_provider_authorization_create(provider_authorizations.Element)
third_party_provider_authorization = cls._args_schema.provider_registration.provider_hub_metadata.third_party_provider_authorization
third_party_provider_authorization.authorizations = AAZListArg(
options=["authorizations"],
)
third_party_provider_authorization.managed_by_tenant_id = AAZStrArg(
options=["managed-by-tenant-id"],
)
authorizations = cls._args_schema.provider_registration.provider_hub_metadata.third_party_provider_authorization.authorizations
authorizations.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.provider_hub_metadata.third_party_provider_authorization.authorizations.Element
_element.principal_id = AAZStrArg(
options=["principal-id"],
required=True,
)
_element.role_definition_id = AAZStrArg(
options=["role-definition-id"],
required=True,
)
request_header_options = cls._args_schema.provider_registration.request_header_options
request_header_options.opt_in_headers = AAZStrArg(
options=["opt-in-headers"],
enum={"ClientGroupMembership": "ClientGroupMembership", "ClientPrincipalNameEncoded": "ClientPrincipalNameEncoded", "MSIResourceIdEncoded": "MSIResourceIdEncoded", "ManagementGroupAncestorsEncoded": "ManagementGroupAncestorsEncoded", "NotSpecified": "NotSpecified", "PrivateLinkId": "PrivateLinkId", "PrivateLinkResourceId": "PrivateLinkResourceId", "PrivateLinkVnetTrafficTag": "PrivateLinkVnetTrafficTag", "ResourceGroupLocation": "ResourceGroupLocation", "SignedAuxiliaryTokens": "SignedAuxiliaryTokens", "SignedUserToken": "SignedUserToken", "UnboundedClientGroupMembership": "UnboundedClientGroupMembership"},
)
request_header_options.opt_out_headers = AAZStrArg(
options=["opt-out-headers"],
enum={"NotSpecified": "NotSpecified", "SystemDataCreatedByLastModifiedBy": "SystemDataCreatedByLastModifiedBy"},
)
required_features = cls._args_schema.provider_registration.required_features
required_features.Element = AAZStrArg()
resource_group_lock_option_during_move = cls._args_schema.provider_registration.resource_group_lock_option_during_move
resource_group_lock_option_during_move.block_action_verb = AAZStrArg(
options=["block-action-verb"],
help="The action verb that will be blocked when the resource group is locked during move.",
enum={"Action": "Action", "Delete": "Delete", "NotSpecified": "NotSpecified", "Read": "Read", "Unrecognized": "Unrecognized", "Write": "Write"},
)
resource_hydration_accounts = cls._args_schema.provider_registration.resource_hydration_accounts
resource_hydration_accounts.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.resource_hydration_accounts.Element
_element.account_name = AAZStrArg(
options=["account-name"],
)
_element.encrypted_key = AAZStrArg(
options=["encrypted-key"],
)
_element.max_child_resource_consistency_job_limit = AAZIntArg(
options=["max-child-resource-consistency-job-limit"],
)
_element.subscription_id = AAZStrArg(
options=["subscription-id"],
)
response_options = cls._args_schema.provider_registration.response_options
response_options.service_client_options_type = AAZStrArg(
options=["service-client-options-type"],
enum={"DisableAutomaticDecompression": "DisableAutomaticDecompression", "NotSpecified": "NotSpecified"},
)
services = cls._args_schema.provider_registration.services
services.Element = AAZObjectArg()
_element = cls._args_schema.provider_registration.services.Element
_element.service_name = AAZStrArg(
options=["service-name"],
)
_element.status = AAZStrArg(
options=["status"],
enum={"Active": "Active", "Inactive": "Inactive"},
)
subscription_lifecycle_notification_specifications = cls._args_schema.provider_registration.subscription_lifecycle_notification_specifications
subscription_lifecycle_notification_specifications.soft_delete_ttl = AAZDurationArg(
options=["soft-delete-ttl"],
)
subscription_lifecycle_notification_specifications.subscription_state_override_actions = AAZListArg(
options=["subscription-state-override-actions"],
)
subscription_state_override_actions = cls._args_schema.provider_registration.subscription_lifecycle_notification_specifications.subscription_state_override_actions
subscription_state_override_actions.Element = AAZObjectArg()
cls._build_args_subscription_state_override_action_create(subscription_state_override_actions.Element)
template_deployment_options = cls._args_schema.provider_registration.template_deployment_options
template_deployment_options.preflight_options = AAZListArg(
options=["preflight-options"],
)
template_deployment_options.preflight_supported = AAZBoolArg(
options=["preflight-supported"],
)
preflight_options = cls._args_schema.provider_registration.template_deployment_options.preflight_options
preflight_options.Element = AAZStrArg(
enum={"ContinueDeploymentOnFailure": "ContinueDeploymentOnFailure", "DefaultValidationOnly": "DefaultValidationOnly", "None": "None"},
)
resource_type_registrations = cls._args_schema.resource_type_registrations
resource_type_registrations.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element
_element.kind = AAZStrArg(
options=["kind"],
help="Resource type registration kind. This Metadata is also used by portal/tooling/etc to render different UX experiences for resources of the same type.",
default="Managed",
enum={"Direct": "Direct", "Hybrid": "Hybrid", "Managed": "Managed"},
)
_element.add_resource_list_target_locations = AAZBoolArg(
options=["add-resource-list-target-locations"],
help="Add resource list target locations?",
)
_element.additional_options = AAZStrArg(
options=["additional-options"],
enum={"ProtectedAsyncOperationPolling": "ProtectedAsyncOperationPolling", "ProtectedAsyncOperationPollingAuditOnly": "ProtectedAsyncOperationPollingAuditOnly"},
)
_element.allow_empty_role_assignments = AAZBoolArg(
options=["allow-empty-role-assignments"],
)
_element.allowed_resource_names = AAZListArg(
options=["allowed-resource-names"],
)
_element.allowed_template_deployment_reference_actions = AAZListArg(
options=["allowed-template-deployment-reference-actions"],
help="Allowed template deployment reference actions.",
)
_element.allowed_unauthorized_actions = AAZListArg(
options=["allowed-unauthorized-actions"],
)
_element.api_profiles = AAZListArg(
options=["api-profiles"],
)
_element.async_operation_resource_type_name = AAZStrArg(
options=["async-operation-resource-type-name"],
)
_element.async_timeout_rules = AAZListArg(
options=["async-timeout-rules"],
help="Async timeout rules",
)
_element.authorization_action_mappings = AAZListArg(
options=["authorization-action-mappings"],
)
_element.availability_zone_rule = AAZObjectArg(
options=["availability-zone-rule"],
)
_element.capacity_rule = AAZObjectArg(
options=["capacity-rule"],
help="Capacity rule.",
)
_element.category = AAZStrArg(
options=["category"],
enum={"FreeForm": "FreeForm", "Internal": "Internal", "None": "None", "PureProxy": "PureProxy"},
)
_element.check_name_availability_specifications = AAZObjectArg(
options=["check-name-availability-specifications"],
)
_element.common_api_versions = AAZListArg(
options=["common-api-versions"],
help="Common API versions for the resource type.",
)
_element.cross_tenant_token_validation = AAZStrArg(
options=["cross-tenant-token-validation"],
enum={"EnsureSecureValidation": "EnsureSecureValidation", "PassthroughInsecureToken": "PassthroughInsecureToken"},
)
_element.default_api_version = AAZStrArg(
options=["default-api-version"],
)
_element.disallowed_action_verbs = AAZListArg(
options=["disallowed-action-verbs"],
)
_element.disallowed_end_user_operations = AAZListArg(
options=["disallowed-end-user-operations"],
)
_element.dsts_configuration = AAZObjectArg(
options=["dsts-configuration"],
)
_element.enable_async_operation = AAZBoolArg(
options=["enable-async-operation"],
)
_element.enable_third_party_s2_s = AAZBoolArg(
options=["enable-third-party-s2-s"],
)
_element.endpoints = AAZListArg(
options=["endpoints"],
)
_element.extended_locations = AAZListArg(
options=["extended-locations"],
)
_element.extension_options = AAZObjectArg(
options=["extension-options"],
)
_element.features_rule = AAZObjectArg(
options=["features-rule"],
)
_element.frontdoor_request_mode = AAZStrArg(
options=["frontdoor-request-mode"],
enum={"NotSpecified": "NotSpecified", "UseManifest": "UseManifest"},
)
_element.grouping_tag = AAZStrArg(
options=["grouping-tag"],
help="Grouping tag.",
)
_element.identity_management = AAZObjectArg(
options=["identity-management"],
)
_element.is_pure_proxy = AAZBoolArg(
options=["is-pure-proxy"],
)
_element.legacy_name = AAZStrArg(
options=["legacy-name"],
)
_element.legacy_names = AAZListArg(
options=["legacy-names"],
)
_element.legacy_policy = AAZObjectArg(
options=["legacy-policy"],
)
_element.linked_access_checks = AAZListArg(
options=["linked-access-checks"],
)
_element.linked_notification_rules = AAZListArg(
options=["linked-notification-rules"],
)
_element.linked_operation_rules = AAZListArg(
options=["linked-operation-rules"],
)
_element.logging_rules = AAZListArg(
options=["logging-rules"],
)
_element.managed_resource_group_configuration = AAZObjectArg(
options=["managed-resource-group-configuration"],
)
_element.management = AAZObjectArg(
options=["management"],
)
_element.manifest_link = AAZStrArg(
options=["manifest-link"],
help="Manifest link.",
)
_element.marketplace_options = AAZObjectArg(
options=["marketplace-options"],
help="Marketplace options.",
)
_element.marketplace_type = AAZStrArg(
options=["marketplace-type"],
enum={"AddOn": "AddOn", "Bypass": "Bypass", "NotSpecified": "NotSpecified", "Store": "Store"},
)
_element.metadata = AAZDictArg(
options=["metadata"],
)
_element.notifications = AAZListArg(
options=["notifications"],
)
cls._build_args_notifications_create(_element.notifications)
_element.on_behalf_of_tokens = AAZObjectArg(
options=["on-behalf-of-tokens"],
)
_element.open_api_configuration = AAZObjectArg(
options=["open-api-configuration"],
)
_element.policy_execution_type = AAZStrArg(
options=["policy-execution-type"],
enum={"BypassPolicies": "BypassPolicies", "ExecutePolicies": "ExecutePolicies", "ExpectPartialPutRequests": "ExpectPartialPutRequests", "NotSpecified": "NotSpecified"},
)
_element.private_endpoint_configuration = AAZObjectArg(
options=["private-endpoint-configuration"],
)
_element.quota_rule = AAZObjectArg(
options=["quota-rule"],
)
_element.regionality = AAZStrArg(
options=["regionality"],
enum={"Global": "Global", "NotSpecified": "NotSpecified", "Regional": "Regional"},
)
_element.request_header_options = AAZObjectArg(
options=["request-header-options"],
)
_element.required_features = AAZListArg(
options=["required-features"],
)
_element.resource_cache = AAZObjectArg(
options=["resource-cache"],
help="Resource cache options.",
)
_element.resource_concurrency_control_options = AAZDictArg(
options=["resource-concurrency-control-options"],
)
_element.resource_deletion_policy = AAZStrArg(
options=["resource-deletion-policy"],
enum={"CascadeDeleteAll": "CascadeDeleteAll", "CascadeDeleteProxyOnlyChildren": "CascadeDeleteProxyOnlyChildren", "NotSpecified": "NotSpecified"},
)
_element.resource_graph_configuration = AAZObjectArg(
options=["resource-graph-configuration"],
)
_element.resource_management_options = AAZObjectArg(
options=["resource-management-options"],
help="Resource management options.",
)
_element.resource_move_policy = AAZObjectArg(
options=["resource-move-policy"],
)
_element.resource_provider_authorization_rules = AAZObjectArg(
options=["resource-provider-authorization-rules"],
)
cls._build_args_resource_provider_authorization_rules_create(_element.resource_provider_authorization_rules)
_element.resource_query_management = AAZObjectArg(
options=["resource-query-management"],
help="Resource query management options.",
)
_element.resource_sub_type = AAZStrArg(
options=["resource-sub-type"],
enum={"AsyncOperation": "AsyncOperation", "NotSpecified": "NotSpecified"},
)
_element.resource_type_common_attribute_management = AAZObjectArg(
options=["resource-type-common-attribute-management"],
help="Resource type common attribute management.",
)
_element.resource_validation = AAZStrArg(
options=["resource-validation"],
enum={"NotSpecified": "NotSpecified", "ProfaneWords": "ProfaneWords", "ReservedWords": "ReservedWords"},
)
_element.routing_rule = AAZObjectArg(
options=["routing-rule"],
help="Routing rule.",
)
_element.routing_type = AAZStrArg(
options=["routing-type"],
enum={"CascadeExtension": "CascadeExtension", "Default": "Default", "Extension": "Extension", "Failover": "Failover", "Fanout": "Fanout", "HostBased": "HostBased", "LocationBased": "LocationBased", "ProxyOnly": "ProxyOnly", "Tenant": "Tenant"},
)
_element.service_tree_infos = AAZListArg(
options=["service-tree-infos"],
)
_element.sku_link = AAZStrArg(
options=["sku-link"],
)
_element.subscription_lifecycle_notification_specifications = AAZObjectArg(
options=["subscription-lifecycle-notification-specifications"],
)
_element.subscription_state_rules = AAZListArg(
options=["subscription-state-rules"],
)
_element.supports_tags = AAZBoolArg(
options=["supports-tags"],
)
_element.swagger_specifications = AAZListArg(
options=["swagger-specifications"],
)
_element.template_deployment_options = AAZObjectArg(
options=["template-deployment-options"],
)
_element.template_deployment_policy = AAZObjectArg(
options=["template-deployment-policy"],
)
_element.throttling_rules = AAZListArg(
options=["throttling-rules"],
)
_element.token_auth_configuration = AAZObjectArg(
options=["token-auth-configuration"],
)
cls._build_args_token_auth_configuration_create(_element.token_auth_configuration)
allowed_resource_names = cls._args_schema.resource_type_registrations.Element.allowed_resource_names
allowed_resource_names.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.allowed_resource_names.Element
_element.get_action_verb = AAZStrArg(
options=["get-action-verb"],
help="Get action verb.",
)
_element.name = AAZStrArg(
options=["name"],
help="Resource name.",
)
allowed_template_deployment_reference_actions = cls._args_schema.resource_type_registrations.Element.allowed_template_deployment_reference_actions
allowed_template_deployment_reference_actions.Element = AAZStrArg()
allowed_unauthorized_actions = cls._args_schema.resource_type_registrations.Element.allowed_unauthorized_actions
allowed_unauthorized_actions.Element = AAZStrArg()
api_profiles = cls._args_schema.resource_type_registrations.Element.api_profiles
api_profiles.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.api_profiles.Element
_element.api_version = AAZStrArg(
options=["api-version"],
help="Api version.",
)
_element.profile_version = AAZStrArg(
options=["profile-version"],
help="Profile version.",
)
async_timeout_rules = cls._args_schema.resource_type_registrations.Element.async_timeout_rules
async_timeout_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.async_timeout_rules.Element
_element.action_name = AAZStrArg(
options=["action-name"],
)
_element.timeout = AAZStrArg(
options=["timeout"],
)
authorization_action_mappings = cls._args_schema.resource_type_registrations.Element.authorization_action_mappings
authorization_action_mappings.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.authorization_action_mappings.Element
_element.desired = AAZStrArg(
options=["desired"],
)
_element.original = AAZStrArg(
options=["original"],
)
availability_zone_rule = cls._args_schema.resource_type_registrations.Element.availability_zone_rule
availability_zone_rule.availability_zone_policy = AAZStrArg(
options=["availability-zone-policy"],
enum={"MultiZoned": "MultiZoned", "NotSpecified": "NotSpecified", "SingleZoned": "SingleZoned"},
)
capacity_rule = cls._args_schema.resource_type_registrations.Element.capacity_rule
capacity_rule.capacity_policy = AAZStrArg(
options=["capacity-policy"],
help="Capacity policy.",
enum={"Default": "Default", "Restricted": "Restricted"},
)
capacity_rule.sku_alias = AAZStrArg(
options=["sku-alias"],
help="Sku alias",
)
check_name_availability_specifications = cls._args_schema.resource_type_registrations.Element.check_name_availability_specifications
check_name_availability_specifications.enable_default_validation = AAZBoolArg(
options=["enable-default-validation"],
)
check_name_availability_specifications.resource_types_with_custom_validation = AAZListArg(
options=["resource-types-with-custom-validation"],
)
resource_types_with_custom_validation = cls._args_schema.resource_type_registrations.Element.check_name_availability_specifications.resource_types_with_custom_validation
resource_types_with_custom_validation.Element = AAZStrArg()
common_api_versions = cls._args_schema.resource_type_registrations.Element.common_api_versions
common_api_versions.Element = AAZStrArg()
disallowed_action_verbs = cls._args_schema.resource_type_registrations.Element.disallowed_action_verbs
disallowed_action_verbs.Element = AAZStrArg()
disallowed_end_user_operations = cls._args_schema.resource_type_registrations.Element.disallowed_end_user_operations
disallowed_end_user_operations.Element = AAZStrArg()
dsts_configuration = cls._args_schema.resource_type_registrations.Element.dsts_configuration
dsts_configuration.service_dns_name = AAZStrArg(
options=["service-dns-name"],
)
dsts_configuration.service_name = AAZStrArg(
options=["service-name"],
required=True,
)
endpoints = cls._args_schema.resource_type_registrations.Element.endpoints
endpoints.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.endpoints.Element
_element.api_version = AAZStrArg(
options=["api-version"],
help="Api version.",
)
_element.api_versions = AAZListArg(
options=["api-versions"],
)
_element.data_boundary = AAZStrArg(
options=["data-boundary"],
enum={"EU": "EU", "Global": "Global", "NotDefined": "NotDefined", "US": "US"},
)
_element.dsts_configuration = AAZObjectArg(
options=["dsts-configuration"],
)
_element.enabled = AAZBoolArg(
options=["enabled"],
)
_element.endpoint_type = AAZStrArg(
options=["endpoint-type"],
enum={"Canary": "Canary", "NotSpecified": "NotSpecified", "Production": "Production", "TestInProduction": "TestInProduction"},
)
_element.endpoint_uri = AAZStrArg(
options=["endpoint-uri"],
)
_element.extensions = AAZListArg(
options=["extensions"],
)
_element.features_rule = AAZObjectArg(
options=["features-rule"],
)
_element.kind = AAZStrArg(
options=["kind"],
help="Resource type endpoint kind. This Metadata is also used by portal/tooling/etc to render different UX experiences for resources of the same type.",
default="Managed",
enum={"Direct": "Direct", "Managed": "Managed"},
)
_element.locations = AAZListArg(
options=["locations"],
)
_element.required_features = AAZListArg(
options=["required-features"],
)
_element.sku_link = AAZStrArg(
options=["sku-link"],
)
_element.timeout = AAZDurationArg(
options=["timeout"],
)
_element.token_auth_configuration = AAZObjectArg(
options=["token-auth-configuration"],
)
cls._build_args_token_auth_configuration_create(_element.token_auth_configuration)
_element.zones = AAZListArg(
options=["zones"],
help="List of zones.",
)
api_versions = cls._args_schema.resource_type_registrations.Element.endpoints.Element.api_versions
api_versions.Element = AAZStrArg()
dsts_configuration = cls._args_schema.resource_type_registrations.Element.endpoints.Element.dsts_configuration
dsts_configuration.service_dns_name = AAZStrArg(
options=["service-dns-name"],
)
dsts_configuration.service_name = AAZStrArg(
options=["service-name"],
required=True,
)
extensions = cls._args_schema.resource_type_registrations.Element.endpoints.Element.extensions
extensions.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.endpoints.Element.extensions.Element
_element.endpoint_uri = AAZStrArg(
options=["endpoint-uri"],
)
_element.extension_categories = AAZListArg(
options=["extension-categories"],
)
_element.timeout = AAZDurationArg(
options=["timeout"],
)
extension_categories = cls._args_schema.resource_type_registrations.Element.endpoints.Element.extensions.Element.extension_categories
extension_categories.Element = AAZStrArg(
enum={"BestMatchOperationBegin": "BestMatchOperationBegin", "NotSpecified": "NotSpecified", "ResourceCreationBegin": "ResourceCreationBegin", "ResourceCreationCompleted": "ResourceCreationCompleted", "ResourceCreationValidate": "ResourceCreationValidate", "ResourceDeletionBegin": "ResourceDeletionBegin", "ResourceDeletionCompleted": "ResourceDeletionCompleted", "ResourceDeletionValidate": "ResourceDeletionValidate", "ResourceMoveBegin": "ResourceMoveBegin", "ResourceMoveCompleted": "ResourceMoveCompleted", "ResourcePatchBegin": "ResourcePatchBegin", "ResourcePatchCompleted": "ResourcePatchCompleted", "ResourcePatchValidate": "ResourcePatchValidate", "ResourcePostAction": "ResourcePostAction", "ResourceReadBegin": "ResourceReadBegin", "ResourceReadValidate": "ResourceReadValidate", "SubscriptionLifecycleNotification": "SubscriptionLifecycleNotification", "SubscriptionLifecycleNotificationDeletion": "SubscriptionLifecycleNotificationDeletion"},
)
features_rule = cls._args_schema.resource_type_registrations.Element.endpoints.Element.features_rule
features_rule.required_features_policy = AAZStrArg(
options=["required-features-policy"],
required=True,
enum={"All": "All", "Any": "Any"},
)
locations = cls._args_schema.resource_type_registrations.Element.endpoints.Element.locations
locations.Element = AAZStrArg()
required_features = cls._args_schema.resource_type_registrations.Element.endpoints.Element.required_features
required_features.Element = AAZStrArg()
zones = cls._args_schema.resource_type_registrations.Element.endpoints.Element.zones
zones.Element = AAZStrArg()
extended_locations = cls._args_schema.resource_type_registrations.Element.extended_locations
extended_locations.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.extended_locations.Element
_element.supported_policy = AAZStrArg(
options=["supported-policy"],
)
_element.type = AAZStrArg(
options=["type"],
)
extension_options = cls._args_schema.resource_type_registrations.Element.extension_options
extension_options.resource_creation_begin = AAZObjectArg(
options=["resource-creation-begin"],
)
resource_creation_begin = cls._args_schema.resource_type_registrations.Element.extension_options.resource_creation_begin
resource_creation_begin.request = AAZListArg(
options=["request"],
)
resource_creation_begin.response = AAZListArg(
options=["response"],
)
request = cls._args_schema.resource_type_registrations.Element.extension_options.resource_creation_begin.request
request.Element = AAZStrArg(
enum={"DoNotMergeExistingReadOnlyAndSecretProperties": "DoNotMergeExistingReadOnlyAndSecretProperties", "IncludeInternalMetadata": "IncludeInternalMetadata", "NotSpecified": "NotSpecified"},
)
response = cls._args_schema.resource_type_registrations.Element.extension_options.resource_creation_begin.response
response.Element = AAZStrArg(
enum={"DoNotMergeExistingReadOnlyAndSecretProperties": "DoNotMergeExistingReadOnlyAndSecretProperties", "IncludeInternalMetadata": "IncludeInternalMetadata", "NotSpecified": "NotSpecified"},
)
features_rule = cls._args_schema.resource_type_registrations.Element.features_rule
features_rule.required_features_policy = AAZStrArg(
options=["required-features-policy"],
required=True,
enum={"All": "All", "Any": "Any"},
)
identity_management = cls._args_schema.resource_type_registrations.Element.identity_management
identity_management.application_id = AAZStrArg(
options=["application-id"],
)
identity_management.application_ids = AAZListArg(
options=["application-ids"],
)
identity_management.delegation_app_ids = AAZListArg(
options=["delegation-app-ids"],
)
identity_management.type = AAZStrArg(
options=["type"],
enum={"Actor": "Actor", "DelegatedResourceIdentity": "DelegatedResourceIdentity", "NotSpecified": "NotSpecified", "SystemAssigned": "SystemAssigned", "UserAssigned": "UserAssigned"},
)
application_ids = cls._args_schema.resource_type_registrations.Element.identity_management.application_ids
application_ids.Element = AAZStrArg()
delegation_app_ids = cls._args_schema.resource_type_registrations.Element.identity_management.delegation_app_ids
delegation_app_ids.Element = AAZStrArg()
legacy_names = cls._args_schema.resource_type_registrations.Element.legacy_names
legacy_names.Element = AAZStrArg()
legacy_policy = cls._args_schema.resource_type_registrations.Element.legacy_policy
legacy_policy.disallowed_conditions = AAZListArg(
options=["disallowed-conditions"],
)
legacy_policy.disallowed_legacy_operations = AAZListArg(
options=["disallowed-legacy-operations"],
)
disallowed_conditions = cls._args_schema.resource_type_registrations.Element.legacy_policy.disallowed_conditions
disallowed_conditions.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.legacy_policy.disallowed_conditions.Element
_element.disallowed_legacy_operations = AAZListArg(
options=["disallowed-legacy-operations"],
)
_element.feature = AAZStrArg(
options=["feature"],
help="Feature string.",
)
disallowed_legacy_operations = cls._args_schema.resource_type_registrations.Element.legacy_policy.disallowed_conditions.Element.disallowed_legacy_operations
disallowed_legacy_operations.Element = AAZStrArg(
enum={"Action": "Action", "AzureAsyncOperationWaiting": "AzureAsyncOperationWaiting", "Create": "Create", "Delete": "Delete", "DeploymentCleanup": "DeploymentCleanup", "EvaluateDeploymentOutput": "EvaluateDeploymentOutput", "NotSpecified": "NotSpecified", "Read": "Read", "ResourceCacheWaiting": "ResourceCacheWaiting", "Waiting": "Waiting"},
)
disallowed_legacy_operations = cls._args_schema.resource_type_registrations.Element.legacy_policy.disallowed_legacy_operations
disallowed_legacy_operations.Element = AAZStrArg(
enum={"Action": "Action", "AzureAsyncOperationWaiting": "AzureAsyncOperationWaiting", "Create": "Create", "Delete": "Delete", "DeploymentCleanup": "DeploymentCleanup", "EvaluateDeploymentOutput": "EvaluateDeploymentOutput", "NotSpecified": "NotSpecified", "Read": "Read", "ResourceCacheWaiting": "ResourceCacheWaiting", "Waiting": "Waiting"},
)
linked_access_checks = cls._args_schema.resource_type_registrations.Element.linked_access_checks
linked_access_checks.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.linked_access_checks.Element
_element.action_name = AAZStrArg(
options=["action-name"],
)
_element.linked_action = AAZStrArg(
options=["linked-action"],
)
_element.linked_action_verb = AAZStrArg(
options=["linked-action-verb"],
)
_element.linked_property = AAZStrArg(
options=["linked-property"],
)
_element.linked_type = AAZStrArg(
options=["linked-type"],
)
linked_notification_rules = cls._args_schema.resource_type_registrations.Element.linked_notification_rules
linked_notification_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.linked_notification_rules.Element
_element.actions = AAZListArg(
options=["actions"],
)
_element.actions_on_failed_operation = AAZListArg(
options=["actions-on-failed-operation"],
)
_element.fast_path_actions = AAZListArg(
options=["fast-path-actions"],
)
_element.fast_path_actions_on_failed_operation = AAZListArg(
options=["fast-path-actions-on-failed-operation"],
)
_element.linked_notification_timeout = AAZDurationArg(
options=["linked-notification-timeout"],
)
actions = cls._args_schema.resource_type_registrations.Element.linked_notification_rules.Element.actions
actions.Element = AAZStrArg()
actions_on_failed_operation = cls._args_schema.resource_type_registrations.Element.linked_notification_rules.Element.actions_on_failed_operation
actions_on_failed_operation.Element = AAZStrArg()
fast_path_actions = cls._args_schema.resource_type_registrations.Element.linked_notification_rules.Element.fast_path_actions
fast_path_actions.Element = AAZStrArg()
fast_path_actions_on_failed_operation = cls._args_schema.resource_type_registrations.Element.linked_notification_rules.Element.fast_path_actions_on_failed_operation
fast_path_actions_on_failed_operation.Element = AAZStrArg()
linked_operation_rules = cls._args_schema.resource_type_registrations.Element.linked_operation_rules
linked_operation_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.linked_operation_rules.Element
_element.depends_on_types = AAZListArg(
options=["depends-on-types"],
help="Depends on types.",
)
_element.linked_action = AAZStrArg(
options=["linked-action"],
required=True,
enum={"Blocked": "Blocked", "Enabled": "Enabled", "NotSpecified": "NotSpecified", "Validate": "Validate"},
)
_element.linked_operation = AAZStrArg(
options=["linked-operation"],
required=True,
enum={"CrossResourceGroupResourceMove": "CrossResourceGroupResourceMove", "CrossSubscriptionResourceMove": "CrossSubscriptionResourceMove", "None": "None"},
)
depends_on_types = cls._args_schema.resource_type_registrations.Element.linked_operation_rules.Element.depends_on_types
depends_on_types.Element = AAZStrArg()
logging_rules = cls._args_schema.resource_type_registrations.Element.logging_rules
logging_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.logging_rules.Element
_element.action = AAZStrArg(
options=["action"],
required=True,
)
_element.detail_level = AAZStrArg(
options=["detail-level"],
required=True,
enum={"Body": "Body", "None": "None"},
)
_element.direction = AAZStrArg(
options=["direction"],
required=True,
enum={"None": "None", "Request": "Request", "Response": "Response"},
)
_element.hidden_property_paths = AAZObjectArg(
options=["hidden-property-paths"],
)
hidden_property_paths = cls._args_schema.resource_type_registrations.Element.logging_rules.Element.hidden_property_paths
hidden_property_paths.hidden_paths_on_request = AAZListArg(
options=["hidden-paths-on-request"],
)
hidden_property_paths.hidden_paths_on_response = AAZListArg(
options=["hidden-paths-on-response"],
)
hidden_paths_on_request = cls._args_schema.resource_type_registrations.Element.logging_rules.Element.hidden_property_paths.hidden_paths_on_request
hidden_paths_on_request.Element = AAZStrArg()
hidden_paths_on_response = cls._args_schema.resource_type_registrations.Element.logging_rules.Element.hidden_property_paths.hidden_paths_on_response
hidden_paths_on_response.Element = AAZStrArg()
managed_resource_group_configuration = cls._args_schema.resource_type_registrations.Element.managed_resource_group_configuration
managed_resource_group_configuration.application_ids = AAZListArg(
options=["application-ids"],
)
managed_resource_group_configuration.deny_assignment_configuration = AAZObjectArg(
options=["deny-assignment-configuration"],
)
managed_resource_group_configuration.enabled = AAZBoolArg(
options=["enabled"],
)
managed_resource_group_configuration.resource_group_location_override = AAZStrArg(
options=["resource-group-location-override"],
)
application_ids = cls._args_schema.resource_type_registrations.Element.managed_resource_group_configuration.application_ids
application_ids.Element = AAZStrArg()
deny_assignment_configuration = cls._args_schema.resource_type_registrations.Element.managed_resource_group_configuration.deny_assignment_configuration
deny_assignment_configuration.enabled = AAZBoolArg(
options=["enabled"],
)
deny_assignment_configuration.not_actions = AAZListArg(
options=["not-actions"],
)
not_actions = cls._args_schema.resource_type_registrations.Element.managed_resource_group_configuration.deny_assignment_configuration.not_actions
not_actions.Element = AAZStrArg()
management = cls._args_schema.resource_type_registrations.Element.management
management.authorization_owners = AAZListArg(
options=["authorization-owners"],
)
management.canary_manifest_owners = AAZListArg(
options=["canary-manifest-owners"],
help="List of manifest owners for canary.",
)
management.error_response_message_options = AAZObjectArg(
options=["error-response-message-options"],
help="Options for error response messages.",
)
management.expedited_rollout_metadata = AAZObjectArg(
options=["expedited-rollout-metadata"],
help="Metadata for expedited rollout.",
)
management.expedited_rollout_submitters = AAZListArg(
options=["expedited-rollout-submitters"],
help="List of expedited rollout submitters.",
)
management.incident_contact_email = AAZStrArg(
options=["incident-contact-email"],
)
management.incident_routing_service = AAZStrArg(
options=["incident-routing-service"],
)
management.incident_routing_team = AAZStrArg(
options=["incident-routing-team"],
)
management.manifest_owners = AAZListArg(
options=["manifest-owners"],
)
management.pc_code = AAZStrArg(
options=["pc-code"],
help="The profit center code for the subscription.",
)
management.profit_center_program_id = AAZStrArg(
options=["profit-center-program-id"],
help="The profit center program id for the subscription.",
)
management.resource_access_policy = AAZStrArg(
options=["resource-access-policy"],
enum={"AcisActionAllowed": "AcisActionAllowed", "AcisReadAllowed": "AcisReadAllowed", "NotSpecified": "NotSpecified"},
)
management.resource_access_roles = AAZListArg(
options=["resource-access-roles"],
)
management.schema_owners = AAZListArg(
options=["schema-owners"],
)
management.service_tree_infos = AAZListArg(
options=["service-tree-infos"],
)
authorization_owners = cls._args_schema.resource_type_registrations.Element.management.authorization_owners
authorization_owners.Element = AAZStrArg()
canary_manifest_owners = cls._args_schema.resource_type_registrations.Element.management.canary_manifest_owners
canary_manifest_owners.Element = AAZStrArg()
error_response_message_options = cls._args_schema.resource_type_registrations.Element.management.error_response_message_options
error_response_message_options.server_failure_response_message_type = AAZStrArg(
options=["server-failure-response-message-type"],
help="Type of server failure response message.",
enum={"NotSpecified": "NotSpecified", "OutageReporting": "OutageReporting"},
)
expedited_rollout_metadata = cls._args_schema.resource_type_registrations.Element.management.expedited_rollout_metadata
expedited_rollout_metadata.enabled = AAZBoolArg(
options=["enabled"],
help="Expedited rollout enabled?",
)
expedited_rollout_metadata.expedited_rollout_intent = AAZStrArg(
options=["expedited-rollout-intent"],
help="Expedited rollout intent.",
enum={"Hotfix": "Hotfix", "NotSpecified": "NotSpecified"},
)
expedited_rollout_submitters = cls._args_schema.resource_type_registrations.Element.management.expedited_rollout_submitters
expedited_rollout_submitters.Element = AAZStrArg()
manifest_owners = cls._args_schema.resource_type_registrations.Element.management.manifest_owners
manifest_owners.Element = AAZStrArg()
resource_access_roles = cls._args_schema.resource_type_registrations.Element.management.resource_access_roles
resource_access_roles.Element = AAZObjectArg()
cls._build_args_resource_access_role_create(resource_access_roles.Element)
schema_owners = cls._args_schema.resource_type_registrations.Element.management.schema_owners
schema_owners.Element = AAZStrArg()
service_tree_infos = cls._args_schema.resource_type_registrations.Element.management.service_tree_infos
service_tree_infos.Element = AAZObjectArg()
cls._build_args_service_tree_info_create(service_tree_infos.Element)
marketplace_options = cls._args_schema.resource_type_registrations.Element.marketplace_options
marketplace_options.add_on_plan_conversion_allowed = AAZBoolArg(
options=["add-on-plan-conversion-allowed"],
help="Add-on plan conversion allowed.",
)
metadata = cls._args_schema.resource_type_registrations.Element.metadata
metadata.Element = AAZFreeFormDictArg(
blank={},
)
on_behalf_of_tokens = cls._args_schema.resource_type_registrations.Element.on_behalf_of_tokens
on_behalf_of_tokens.action_name = AAZStrArg(
options=["action-name"],
)
on_behalf_of_tokens.life_time = AAZStrArg(
options=["life-time"],
)
open_api_configuration = cls._args_schema.resource_type_registrations.Element.open_api_configuration
open_api_configuration.validation = AAZObjectArg(
options=["validation"],
)
validation = cls._args_schema.resource_type_registrations.Element.open_api_configuration.validation
validation.allow_noncompliant_collection_response = AAZBoolArg(
options=["allow-noncompliant-collection-response"],
help="Indicates whether a non compliance response is allowed for a LIST call",
)
private_endpoint_configuration = cls._args_schema.resource_type_registrations.Element.private_endpoint_configuration
private_endpoint_configuration.group_connectivity_information = AAZListArg(
options=["group-connectivity-information"],
help="The list of group connectivity information.",
required=True,
)
private_endpoint_configuration.min_api_version = AAZStrArg(
options=["min-api-version"],
help="The first api version that support private endpoint.",
required=True,
)
group_connectivity_information = cls._args_schema.resource_type_registrations.Element.private_endpoint_configuration.group_connectivity_information
group_connectivity_information.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.private_endpoint_configuration.group_connectivity_information.Element
_element.group_id = AAZStrArg(
options=["group-id"],
help="The group id.",
required=True,
)
_element.redirect_map_id = AAZStrArg(
options=["redirect-map-id"],
help="The redirect map id.",
)
_element.required_members = AAZListArg(
options=["required-members"],
help="List of required members for the group id.",
required=True,
)
_element.required_zone_names = AAZListArg(
options=["required-zone-names"],
help="List of required zone names for the group id.",
required=True,
)
required_members = cls._args_schema.resource_type_registrations.Element.private_endpoint_configuration.group_connectivity_information.Element.required_members
required_members.Element = AAZStrArg()
required_zone_names = cls._args_schema.resource_type_registrations.Element.private_endpoint_configuration.group_connectivity_information.Element.required_zone_names
required_zone_names.Element = AAZStrArg()
quota_rule = cls._args_schema.resource_type_registrations.Element.quota_rule
quota_rule.location_rules = AAZListArg(
options=["location-rules"],
)
quota_rule.quota_policy = AAZStrArg(
options=["quota-policy"],
help="Quota policy.",
enum={"Default": "Default", "None": "None", "Restricted": "Restricted"},
)
quota_rule.required_features = AAZListArg(
options=["required-features"],
)
location_rules = cls._args_schema.resource_type_registrations.Element.quota_rule.location_rules
location_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.quota_rule.location_rules.Element
_element.location = AAZStrArg(
options=["location"],
)
_element.policy = AAZStrArg(
options=["policy"],
help="Quota policy.",
enum={"Default": "Default", "None": "None", "Restricted": "Restricted"},
)
_element.quota_id = AAZStrArg(
options=["quota-id"],
)
required_features = cls._args_schema.resource_type_registrations.Element.quota_rule.required_features
required_features.Element = AAZStrArg()
request_header_options = cls._args_schema.resource_type_registrations.Element.request_header_options
request_header_options.opt_in_headers = AAZStrArg(
options=["opt-in-headers"],
enum={"ClientGroupMembership": "ClientGroupMembership", "ClientPrincipalNameEncoded": "ClientPrincipalNameEncoded", "MSIResourceIdEncoded": "MSIResourceIdEncoded", "ManagementGroupAncestorsEncoded": "ManagementGroupAncestorsEncoded", "NotSpecified": "NotSpecified", "PrivateLinkId": "PrivateLinkId", "PrivateLinkResourceId": "PrivateLinkResourceId", "PrivateLinkVnetTrafficTag": "PrivateLinkVnetTrafficTag", "ResourceGroupLocation": "ResourceGroupLocation", "SignedAuxiliaryTokens": "SignedAuxiliaryTokens", "SignedUserToken": "SignedUserToken", "UnboundedClientGroupMembership": "UnboundedClientGroupMembership"},
)
request_header_options.opt_out_headers = AAZStrArg(
options=["opt-out-headers"],
enum={"NotSpecified": "NotSpecified", "SystemDataCreatedByLastModifiedBy": "SystemDataCreatedByLastModifiedBy"},
)
required_features = cls._args_schema.resource_type_registrations.Element.required_features
required_features.Element = AAZStrArg()
resource_cache = cls._args_schema.resource_type_registrations.Element.resource_cache
resource_cache.enable_resource_cache = AAZBoolArg(
options=["enable-resource-cache"],
help="Enable resource cache.",
)
resource_cache.resource_cache_expiration_timespan = AAZStrArg(
options=["resource-cache-expiration-timespan"],
help="Resource cache expiration timespan.",
)
resource_concurrency_control_options = cls._args_schema.resource_type_registrations.Element.resource_concurrency_control_options
resource_concurrency_control_options.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.resource_concurrency_control_options.Element
_element.policy = AAZStrArg(
options=["policy"],
enum={"NotSpecified": "NotSpecified", "SynchronizeBeginExtension": "SynchronizeBeginExtension"},
)
resource_graph_configuration = cls._args_schema.resource_type_registrations.Element.resource_graph_configuration
resource_graph_configuration.api_version = AAZStrArg(
options=["api-version"],
)
resource_graph_configuration.enabled = AAZBoolArg(
options=["enabled"],
)
resource_management_options = cls._args_schema.resource_type_registrations.Element.resource_management_options
resource_management_options.batch_provisioning_support = AAZObjectArg(
options=["batch-provisioning-support"],
help="Batch provisioning support.",
)
resource_management_options.delete_dependencies = AAZListArg(
options=["delete-dependencies"],
help="Delete dependencies.",
)
resource_management_options.nested_provisioning_support = AAZObjectArg(
options=["nested-provisioning-support"],
help="Nested provisioning support.",
)
batch_provisioning_support = cls._args_schema.resource_type_registrations.Element.resource_management_options.batch_provisioning_support
batch_provisioning_support.supported_operations = AAZStrArg(
options=["supported-operations"],
help="Supported operations.",
enum={"Delete": "Delete", "Get": "Get", "NotSpecified": "NotSpecified"},
)
delete_dependencies = cls._args_schema.resource_type_registrations.Element.resource_management_options.delete_dependencies
delete_dependencies.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.resource_management_options.delete_dependencies.Element
_element.linked_property = AAZStrArg(
options=["linked-property"],
help="Linked property.",
)
_element.linked_type = AAZStrArg(
options=["linked-type"],
help="Linked type.",
)
_element.required_features = AAZListArg(
options=["required-features"],
help="Required features.",
)
required_features = cls._args_schema.resource_type_registrations.Element.resource_management_options.delete_dependencies.Element.required_features
required_features.Element = AAZStrArg()
nested_provisioning_support = cls._args_schema.resource_type_registrations.Element.resource_management_options.nested_provisioning_support
nested_provisioning_support.minimum_api_version = AAZStrArg(
options=["minimum-api-version"],
help="Minimum API version.",
)
resource_move_policy = cls._args_schema.resource_type_registrations.Element.resource_move_policy
resource_move_policy.cross_resource_group_move_enabled = AAZBoolArg(
options=["cross-resource-group-move-enabled"],
)
resource_move_policy.cross_subscription_move_enabled = AAZBoolArg(
options=["cross-subscription-move-enabled"],
)
resource_move_policy.validation_required = AAZBoolArg(
options=["validation-required"],
)
resource_query_management = cls._args_schema.resource_type_registrations.Element.resource_query_management
resource_query_management.filter_option = AAZStrArg(
options=["filter-option"],
help="Filter option.",
enum={"EnableSubscriptionFilterOnTenant": "EnableSubscriptionFilterOnTenant", "NotSpecified": "NotSpecified"},
)
resource_type_common_attribute_management = cls._args_schema.resource_type_registrations.Element.resource_type_common_attribute_management
resource_type_common_attribute_management.common_api_versions_merge_mode = AAZStrArg(
options=["common-api-versions-merge-mode"],
help="Common api versions merge mode.",
enum={"Merge": "Merge", "Overwrite": "Overwrite"},
)
routing_rule = cls._args_schema.resource_type_registrations.Element.routing_rule
routing_rule.host_resource_type = AAZStrArg(
options=["host-resource-type"],
help="Hosted resource type.",
)
service_tree_infos = cls._args_schema.resource_type_registrations.Element.service_tree_infos
service_tree_infos.Element = AAZObjectArg()
cls._build_args_service_tree_info_create(service_tree_infos.Element)
subscription_lifecycle_notification_specifications = cls._args_schema.resource_type_registrations.Element.subscription_lifecycle_notification_specifications
subscription_lifecycle_notification_specifications.soft_delete_ttl = AAZDurationArg(
options=["soft-delete-ttl"],
)
subscription_lifecycle_notification_specifications.subscription_state_override_actions = AAZListArg(
options=["subscription-state-override-actions"],
)
subscription_state_override_actions = cls._args_schema.resource_type_registrations.Element.subscription_lifecycle_notification_specifications.subscription_state_override_actions
subscription_state_override_actions.Element = AAZObjectArg()
cls._build_args_subscription_state_override_action_create(subscription_state_override_actions.Element)
subscription_state_rules = cls._args_schema.resource_type_registrations.Element.subscription_state_rules
subscription_state_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.subscription_state_rules.Element
_element.allowed_actions = AAZListArg(
options=["allowed-actions"],
)
_element.state = AAZStrArg(
options=["state"],
enum={"Deleted": "Deleted", "Disabled": "Disabled", "Enabled": "Enabled", "NotDefined": "NotDefined", "PastDue": "PastDue", "Warned": "Warned"},
)
allowed_actions = cls._args_schema.resource_type_registrations.Element.subscription_state_rules.Element.allowed_actions
allowed_actions.Element = AAZStrArg()
swagger_specifications = cls._args_schema.resource_type_registrations.Element.swagger_specifications
swagger_specifications.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.swagger_specifications.Element
_element.api_versions = AAZListArg(
options=["api-versions"],
)
_element.swagger_spec_folder_uri = AAZStrArg(
options=["swagger-spec-folder-uri"],
)
api_versions = cls._args_schema.resource_type_registrations.Element.swagger_specifications.Element.api_versions
api_versions.Element = AAZStrArg()
template_deployment_options = cls._args_schema.resource_type_registrations.Element.template_deployment_options
template_deployment_options.preflight_options = AAZListArg(
options=["preflight-options"],
)
template_deployment_options.preflight_supported = AAZBoolArg(
options=["preflight-supported"],
)
preflight_options = cls._args_schema.resource_type_registrations.Element.template_deployment_options.preflight_options
preflight_options.Element = AAZStrArg(
enum={"ContinueDeploymentOnFailure": "ContinueDeploymentOnFailure", "DefaultValidationOnly": "DefaultValidationOnly", "None": "None"},
)
template_deployment_policy = cls._args_schema.resource_type_registrations.Element.template_deployment_policy
template_deployment_policy.capabilities = AAZStrArg(
options=["capabilities"],
required=True,
enum={"Default": "Default", "Preflight": "Preflight"},
)
template_deployment_policy.preflight_notifications = AAZStrArg(
options=["preflight-notifications"],
enum={"None": "None", "UnregisteredSubscriptions": "UnregisteredSubscriptions"},
)
template_deployment_policy.preflight_options = AAZStrArg(
options=["preflight-options"],
required=True,
enum={"DeploymentRequests": "DeploymentRequests", "None": "None", "RegisteredOnly": "RegisteredOnly", "TestOnly": "TestOnly", "ValidationRequests": "ValidationRequests"},
)
throttling_rules = cls._args_schema.resource_type_registrations.Element.throttling_rules
throttling_rules.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.throttling_rules.Element
_element.action = AAZStrArg(
options=["action"],
required=True,
)
_element.application_id = AAZListArg(
options=["application-id"],
)
_element.metrics = AAZListArg(
options=["metrics"],
required=True,
)
_element.required_features = AAZListArg(
options=["required-features"],
)
application_id = cls._args_schema.resource_type_registrations.Element.throttling_rules.Element.application_id
application_id.Element = AAZStrArg()
metrics = cls._args_schema.resource_type_registrations.Element.throttling_rules.Element.metrics
metrics.Element = AAZObjectArg()
_element = cls._args_schema.resource_type_registrations.Element.throttling_rules.Element.metrics.Element
_element.interval = AAZDurationArg(
options=["interval"],
)
_element.limit = AAZIntArg(
options=["limit"],
required=True,
)
_element.type = AAZStrArg(
options=["type"],
required=True,
enum={"NotSpecified": "NotSpecified", "NumberOfRequests": "NumberOfRequests", "NumberOfResources": "NumberOfResources"},
)
required_features = cls._args_schema.resource_type_registrations.Element.throttling_rules.Element.required_features
required_features.Element = AAZStrArg()
rest_of_the_world_group_one = cls._args_schema.rest_of_the_world_group_one
rest_of_the_world_group_one.regions = AAZListArg(
options=["regions"],
)
rest_of_the_world_group_one.wait_duration = AAZDurationArg(
options=["wait-duration"],
)
regions = cls._args_schema.rest_of_the_world_group_one.regions
regions.Element = AAZStrArg()
rest_of_the_world_group_two = cls._args_schema.rest_of_the_world_group_two
rest_of_the_world_group_two.regions = AAZListArg(
options=["regions"],
)
rest_of_the_world_group_two.wait_duration = AAZDurationArg(
options=["wait-duration"],
)
regions = cls._args_schema.rest_of_the_world_group_two.regions
regions.Element = AAZStrArg()
return cls._args_schema