def content()

in src/securityinsight/azext_sentinel/aaz/latest/sentinel/data_connector/_create.py [0:0]


        def content(self):
            _content_value, _builder = self.new_content_builder(
                self.ctx.args,
                typ=AAZObjectType,
                typ_kwargs={"flags": {"required": True, "client_flatten": True}}
            )
            _builder.set_prop("etag", AAZStrType, ".etag")
            _builder.set_const("kind", "APIPolling", AAZStrType, ".api_polling", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "AmazonWebServicesCloudTrail", AAZStrType, ".aws_cloud_trail", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "AmazonWebServicesS3", AAZStrType, ".aws_s3", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "AzureActiveDirectory", AAZStrType, ".azure_active_directory", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "AzureAdvancedThreatProtection", AAZStrType, ".azure_protection", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "AzureSecurityCenter", AAZStrType, ".azure_security_center", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "Dynamics365", AAZStrType, ".dynamics365", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "GenericUI", AAZStrType, ".generic_ui", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "IOT", AAZStrType, ".iot", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "MicrosoftCloudAppSecurity", AAZStrType, ".cloud_app_security", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "MicrosoftDefenderAdvancedThreatProtection", AAZStrType, ".defender_protection", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "MicrosoftThreatIntelligence", AAZStrType, ".microsoft_intelligence", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "MicrosoftThreatProtection", AAZStrType, ".microsoft_protection", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "Office365", AAZStrType, ".office365", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "Office365Project", AAZStrType, ".office365_project", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "OfficeATP", AAZStrType, ".office_atp", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "OfficeIRM", AAZStrType, ".office_irm", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "OfficePowerBI", AAZStrType, ".office_power_bi", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "ThreatIntelligence", AAZStrType, ".threat_intelligence", typ_kwargs={"flags": {"required": True}})
            _builder.set_const("kind", "ThreatIntelligenceTaxii", AAZStrType, ".intelligence_taxii", typ_kwargs={"flags": {"required": True}})
            _builder.discriminate_by("kind", "APIPolling")
            _builder.discriminate_by("kind", "AmazonWebServicesCloudTrail")
            _builder.discriminate_by("kind", "AmazonWebServicesS3")
            _builder.discriminate_by("kind", "AzureActiveDirectory")
            _builder.discriminate_by("kind", "AzureAdvancedThreatProtection")
            _builder.discriminate_by("kind", "AzureSecurityCenter")
            _builder.discriminate_by("kind", "Dynamics365")
            _builder.discriminate_by("kind", "GenericUI")
            _builder.discriminate_by("kind", "IOT")
            _builder.discriminate_by("kind", "MicrosoftCloudAppSecurity")
            _builder.discriminate_by("kind", "MicrosoftDefenderAdvancedThreatProtection")
            _builder.discriminate_by("kind", "MicrosoftThreatIntelligence")
            _builder.discriminate_by("kind", "MicrosoftThreatProtection")
            _builder.discriminate_by("kind", "Office365")
            _builder.discriminate_by("kind", "Office365Project")
            _builder.discriminate_by("kind", "OfficeATP")
            _builder.discriminate_by("kind", "OfficeIRM")
            _builder.discriminate_by("kind", "OfficePowerBI")
            _builder.discriminate_by("kind", "ThreatIntelligence")
            _builder.discriminate_by("kind", "ThreatIntelligenceTaxii")

            disc_api_polling = _builder.get("{kind:APIPolling}")
            if disc_api_polling is not None:
                disc_api_polling.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:APIPolling}.properties")
            if properties is not None:
                _build_schema_codeless_ui_connector_config_properties_create(properties.set_prop("connectorUiConfig", AAZObjectType, ".api_polling.connector_ui_config"))
                properties.set_prop("pollingConfig", AAZObjectType, ".api_polling.polling_config")

            polling_config = _builder.get("{kind:APIPolling}.properties.pollingConfig")
            if polling_config is not None:
                polling_config.set_prop("auth", AAZObjectType, ".auth", typ_kwargs={"flags": {"required": True}})
                polling_config.set_prop("isActive", AAZBoolType, ".is_active")
                polling_config.set_prop("paging", AAZObjectType, ".paging")
                polling_config.set_prop("request", AAZObjectType, ".request", typ_kwargs={"flags": {"required": True}})
                polling_config.set_prop("response", AAZObjectType, ".response")

            auth = _builder.get("{kind:APIPolling}.properties.pollingConfig.auth")
            if auth is not None:
                auth.set_prop("apiKeyIdentifier", AAZStrType, ".api_key_identifier")
                auth.set_prop("apiKeyName", AAZStrType, ".api_key_name")
                auth.set_prop("authType", AAZStrType, ".auth_type", typ_kwargs={"flags": {"required": True}})
                auth.set_prop("authorizationEndpoint", AAZStrType, ".authorization_endpoint")
                auth.set_prop("flowName", AAZStrType, ".flow_name")
                auth.set_prop("isApiKeyInPostPayload", AAZStrType, ".is_api_key_in_post_payload")
                auth.set_prop("isClientSecretInHeader", AAZBoolType, ".is_client_secret_in_header")
                auth.set_prop("redirectionEndpoint", AAZStrType, ".redirection_endpoint")
                auth.set_prop("scope", AAZStrType, ".scope")
                auth.set_prop("tokenEndpoint", AAZStrType, ".token_endpoint")

            paging = _builder.get("{kind:APIPolling}.properties.pollingConfig.paging")
            if paging is not None:
                paging.set_prop("nextPageParaName", AAZStrType, ".next_page_para_name")
                paging.set_prop("nextPageTokenJsonPath", AAZStrType, ".next_page_token_json_path")
                paging.set_prop("pageCountAttributePath", AAZStrType, ".page_count_attribute_path")
                paging.set_prop("pageSize", AAZIntType, ".page_size")
                paging.set_prop("pageSizeParaName", AAZStrType, ".page_size_para_name")
                paging.set_prop("pageTimeStampAttributePath", AAZStrType, ".page_time_stamp_attribute_path")
                paging.set_prop("pageTotalCountAttributePath", AAZStrType, ".page_total_count_attribute_path")
                paging.set_prop("pagingType", AAZStrType, ".paging_type", typ_kwargs={"flags": {"required": True}})
                paging.set_prop("searchTheLatestTimeStampFromEventsList", AAZStrType, ".search_the_latest_time_stamp_from_events_list")

            request = _builder.get("{kind:APIPolling}.properties.pollingConfig.request")
            if request is not None:
                request.set_prop("apiEndpoint", AAZStrType, ".api_endpoint", typ_kwargs={"flags": {"required": True}})
                request.set_prop("endTimeAttributeName", AAZStrType, ".end_time_attribute_name")
                request.set_prop("httpMethod", AAZStrType, ".http_method", typ_kwargs={"flags": {"required": True}})
                request.set_prop("queryParametersTemplate", AAZStrType, ".query_parameters_template")
                request.set_prop("queryTimeFormat", AAZStrType, ".query_time_format", typ_kwargs={"flags": {"required": True}})
                request.set_prop("queryWindowInMin", AAZIntType, ".query_window_in_min", typ_kwargs={"flags": {"required": True}})
                request.set_prop("rateLimitQps", AAZIntType, ".rate_limit_qps")
                request.set_prop("retryCount", AAZIntType, ".retry_count")
                request.set_prop("startTimeAttributeName", AAZStrType, ".start_time_attribute_name")
                request.set_prop("timeoutInSeconds", AAZIntType, ".timeout_in_seconds")

            response = _builder.get("{kind:APIPolling}.properties.pollingConfig.response")
            if response is not None:
                response.set_prop("eventsJsonPaths", AAZListType, ".events_json_paths", typ_kwargs={"flags": {"required": True}})
                response.set_prop("isGzipCompressed", AAZBoolType, ".is_gzip_compressed")
                response.set_prop("successStatusJsonPath", AAZStrType, ".success_status_json_path")
                response.set_prop("successStatusValue", AAZStrType, ".success_status_value")

            events_json_paths = _builder.get("{kind:APIPolling}.properties.pollingConfig.response.eventsJsonPaths")
            if events_json_paths is not None:
                events_json_paths.set_elements(AAZStrType, ".")

            disc_amazon_web_services_cloud_trail = _builder.get("{kind:AmazonWebServicesCloudTrail}")
            if disc_amazon_web_services_cloud_trail is not None:
                disc_amazon_web_services_cloud_trail.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:AmazonWebServicesCloudTrail}.properties")
            if properties is not None:
                properties.set_prop("awsRoleArn", AAZStrType, ".aws_cloud_trail.aws_role_arn")
                properties.set_prop("dataTypes", AAZObjectType, ".aws_cloud_trail.data_types", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:AmazonWebServicesCloudTrail}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("logs", AAZObjectType, ".logs", typ_kwargs={"flags": {"required": True}})

            logs = _builder.get("{kind:AmazonWebServicesCloudTrail}.properties.dataTypes.logs")
            if logs is not None:
                logs.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_amazon_web_services_s3 = _builder.get("{kind:AmazonWebServicesS3}")
            if disc_amazon_web_services_s3 is not None:
                disc_amazon_web_services_s3.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:AmazonWebServicesS3}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".aws_s3.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("destinationTable", AAZStrType, ".aws_s3.destination_table", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("roleArn", AAZStrType, ".aws_s3.role_arn", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("sqsUrls", AAZListType, ".aws_s3.sqs_urls", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:AmazonWebServicesS3}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("logs", AAZObjectType, ".logs", typ_kwargs={"flags": {"required": True}})

            logs = _builder.get("{kind:AmazonWebServicesS3}.properties.dataTypes.logs")
            if logs is not None:
                logs.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            sqs_urls = _builder.get("{kind:AmazonWebServicesS3}.properties.sqsUrls")
            if sqs_urls is not None:
                sqs_urls.set_elements(AAZStrType, ".")

            disc_azure_active_directory = _builder.get("{kind:AzureActiveDirectory}")
            if disc_azure_active_directory is not None:
                disc_azure_active_directory.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:AzureActiveDirectory}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".azure_active_directory.data_types"))
                properties.set_prop("tenantId", AAZStrType, ".azure_active_directory.tenant_id", typ_kwargs={"flags": {"required": True}})

            disc_azure_advanced_threat_protection = _builder.get("{kind:AzureAdvancedThreatProtection}")
            if disc_azure_advanced_threat_protection is not None:
                disc_azure_advanced_threat_protection.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:AzureAdvancedThreatProtection}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".azure_protection.data_types"))
                properties.set_prop("tenantId", AAZStrType, ".azure_protection.tenant_id", typ_kwargs={"flags": {"required": True}})

            disc_azure_security_center = _builder.get("{kind:AzureSecurityCenter}")
            if disc_azure_security_center is not None:
                disc_azure_security_center.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:AzureSecurityCenter}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".azure_security_center.data_types"))
                properties.set_prop("subscriptionId", AAZStrType, ".azure_security_center.subscription_id")

            disc_dynamics365 = _builder.get("{kind:Dynamics365}")
            if disc_dynamics365 is not None:
                disc_dynamics365.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:Dynamics365}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".dynamics365.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".dynamics365.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:Dynamics365}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("dynamics365CdsActivities", AAZObjectType, ".dynamics365_cds_activities", typ_kwargs={"flags": {"required": True}})

            dynamics365_cds_activities = _builder.get("{kind:Dynamics365}.properties.dataTypes.dynamics365CdsActivities")
            if dynamics365_cds_activities is not None:
                dynamics365_cds_activities.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_generic_ui = _builder.get("{kind:GenericUI}")
            if disc_generic_ui is not None:
                disc_generic_ui.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:GenericUI}.properties")
            if properties is not None:
                _build_schema_codeless_ui_connector_config_properties_create(properties.set_prop("connectorUiConfig", AAZObjectType, ".generic_ui.connector_ui_config"))

            disc_iot = _builder.get("{kind:IOT}")
            if disc_iot is not None:
                disc_iot.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:IOT}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".iot.data_types"))
                properties.set_prop("subscriptionId", AAZStrType, ".iot.subscription_id")

            disc_microsoft_cloud_app_security = _builder.get("{kind:MicrosoftCloudAppSecurity}")
            if disc_microsoft_cloud_app_security is not None:
                disc_microsoft_cloud_app_security.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:MicrosoftCloudAppSecurity}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".cloud_app_security.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".cloud_app_security.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:MicrosoftCloudAppSecurity}.properties.dataTypes")
            if data_types is not None:
                _build_schema_data_connector_data_type_common_create(data_types.set_prop("alerts", AAZObjectType, ".alerts", typ_kwargs={"flags": {"required": True}}))
                _build_schema_data_connector_data_type_common_create(data_types.set_prop("discoveryLogs", AAZObjectType, ".discovery_logs"))

            disc_microsoft_defender_advanced_threat_protection = _builder.get("{kind:MicrosoftDefenderAdvancedThreatProtection}")
            if disc_microsoft_defender_advanced_threat_protection is not None:
                disc_microsoft_defender_advanced_threat_protection.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:MicrosoftDefenderAdvancedThreatProtection}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".defender_protection.data_types"))
                properties.set_prop("tenantId", AAZStrType, ".defender_protection.tenant_id", typ_kwargs={"flags": {"required": True}})

            disc_microsoft_threat_intelligence = _builder.get("{kind:MicrosoftThreatIntelligence}")
            if disc_microsoft_threat_intelligence is not None:
                disc_microsoft_threat_intelligence.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:MicrosoftThreatIntelligence}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".microsoft_intelligence.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".microsoft_intelligence.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:MicrosoftThreatIntelligence}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("bingSafetyPhishingURL", AAZObjectType, ".bing_safety_phishing_url", typ_kwargs={"flags": {"required": True}})
                data_types.set_prop("microsoftEmergingThreatFeed", AAZObjectType, ".microsoft_emerging_threat_feed", typ_kwargs={"flags": {"required": True}})

            bing_safety_phishing_url = _builder.get("{kind:MicrosoftThreatIntelligence}.properties.dataTypes.bingSafetyPhishingURL")
            if bing_safety_phishing_url is not None:
                bing_safety_phishing_url.set_prop("lookbackPeriod", AAZStrType, ".lookback_period", typ_kwargs={"flags": {"required": True}})
                bing_safety_phishing_url.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            microsoft_emerging_threat_feed = _builder.get("{kind:MicrosoftThreatIntelligence}.properties.dataTypes.microsoftEmergingThreatFeed")
            if microsoft_emerging_threat_feed is not None:
                microsoft_emerging_threat_feed.set_prop("lookbackPeriod", AAZStrType, ".lookback_period", typ_kwargs={"flags": {"required": True}})
                microsoft_emerging_threat_feed.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_microsoft_threat_protection = _builder.get("{kind:MicrosoftThreatProtection}")
            if disc_microsoft_threat_protection is not None:
                disc_microsoft_threat_protection.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:MicrosoftThreatProtection}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".microsoft_protection.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".microsoft_protection.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:MicrosoftThreatProtection}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("incidents", AAZObjectType, ".incidents", typ_kwargs={"flags": {"required": True}})

            incidents = _builder.get("{kind:MicrosoftThreatProtection}.properties.dataTypes.incidents")
            if incidents is not None:
                incidents.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_office365 = _builder.get("{kind:Office365}")
            if disc_office365 is not None:
                disc_office365.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:Office365}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".office365.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".office365.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:Office365}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("exchange", AAZObjectType, ".exchange", typ_kwargs={"flags": {"required": True}})
                data_types.set_prop("sharePoint", AAZObjectType, ".share_point", typ_kwargs={"flags": {"required": True}})
                data_types.set_prop("teams", AAZObjectType, ".teams", typ_kwargs={"flags": {"required": True}})

            exchange = _builder.get("{kind:Office365}.properties.dataTypes.exchange")
            if exchange is not None:
                exchange.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            share_point = _builder.get("{kind:Office365}.properties.dataTypes.sharePoint")
            if share_point is not None:
                share_point.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            teams = _builder.get("{kind:Office365}.properties.dataTypes.teams")
            if teams is not None:
                teams.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_office365_project = _builder.get("{kind:Office365Project}")
            if disc_office365_project is not None:
                disc_office365_project.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:Office365Project}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".office365_project.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".office365_project.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:Office365Project}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("logs", AAZObjectType, ".logs", typ_kwargs={"flags": {"required": True}})

            logs = _builder.get("{kind:Office365Project}.properties.dataTypes.logs")
            if logs is not None:
                logs.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_office_atp = _builder.get("{kind:OfficeATP}")
            if disc_office_atp is not None:
                disc_office_atp.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:OfficeATP}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".office_atp.data_types"))
                properties.set_prop("tenantId", AAZStrType, ".office_atp.tenant_id", typ_kwargs={"flags": {"required": True}})

            disc_office_irm = _builder.get("{kind:OfficeIRM}")
            if disc_office_irm is not None:
                disc_office_irm.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:OfficeIRM}.properties")
            if properties is not None:
                _build_schema_alerts_data_type_of_data_connector_create(properties.set_prop("dataTypes", AAZObjectType, ".office_irm.data_types"))
                properties.set_prop("tenantId", AAZStrType, ".office_irm.tenant_id", typ_kwargs={"flags": {"required": True}})

            disc_office_power_bi = _builder.get("{kind:OfficePowerBI}")
            if disc_office_power_bi is not None:
                disc_office_power_bi.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:OfficePowerBI}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".office_power_bi.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".office_power_bi.tenant_id", typ_kwargs={"flags": {"required": True}})

            data_types = _builder.get("{kind:OfficePowerBI}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("logs", AAZObjectType, ".logs", typ_kwargs={"flags": {"required": True}})

            logs = _builder.get("{kind:OfficePowerBI}.properties.dataTypes.logs")
            if logs is not None:
                logs.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_threat_intelligence = _builder.get("{kind:ThreatIntelligence}")
            if disc_threat_intelligence is not None:
                disc_threat_intelligence.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:ThreatIntelligence}.properties")
            if properties is not None:
                properties.set_prop("dataTypes", AAZObjectType, ".threat_intelligence.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tenantId", AAZStrType, ".threat_intelligence.tenant_id", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("tipLookbackPeriod", AAZStrType, ".threat_intelligence.tip_lookback_period", typ_kwargs={"nullable": True})

            data_types = _builder.get("{kind:ThreatIntelligence}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("indicators", AAZObjectType, ".indicators", typ_kwargs={"flags": {"required": True}})

            indicators = _builder.get("{kind:ThreatIntelligence}.properties.dataTypes.indicators")
            if indicators is not None:
                indicators.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            disc_threat_intelligence_taxii = _builder.get("{kind:ThreatIntelligenceTaxii}")
            if disc_threat_intelligence_taxii is not None:
                disc_threat_intelligence_taxii.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}})

            properties = _builder.get("{kind:ThreatIntelligenceTaxii}.properties")
            if properties is not None:
                properties.set_prop("collectionId", AAZStrType, ".intelligence_taxii.collection_id")
                properties.set_prop("dataTypes", AAZObjectType, ".intelligence_taxii.data_types", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("friendlyName", AAZStrType, ".intelligence_taxii.friendly_name")
                properties.set_prop("password", AAZStrType, ".intelligence_taxii.password")
                properties.set_prop("pollingFrequency", AAZStrType, ".intelligence_taxii.polling_frequency", typ_kwargs={"flags": {"required": True}, "nullable": True})
                properties.set_prop("taxiiLookbackPeriod", AAZStrType, ".intelligence_taxii.taxii_lookback_period", typ_kwargs={"nullable": True})
                properties.set_prop("taxiiServer", AAZStrType, ".intelligence_taxii.taxii_server")
                properties.set_prop("tenantId", AAZStrType, ".intelligence_taxii.tenant_id", typ_kwargs={"flags": {"required": True}})
                properties.set_prop("userName", AAZStrType, ".intelligence_taxii.user_name")
                properties.set_prop("workspaceId", AAZStrType, ".intelligence_taxii.workspace_id")

            data_types = _builder.get("{kind:ThreatIntelligenceTaxii}.properties.dataTypes")
            if data_types is not None:
                data_types.set_prop("taxiiClient", AAZObjectType, ".taxii_client", typ_kwargs={"flags": {"required": True}})

            taxii_client = _builder.get("{kind:ThreatIntelligenceTaxii}.properties.dataTypes.taxiiClient")
            if taxii_client is not None:
                taxii_client.set_prop("state", AAZStrType, ".state", typ_kwargs={"flags": {"required": True}})

            return self.serialize_content(_content_value)