exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Gets information about a configuration of server. .Description Gets information about a configuration of server. .Example PS C:\> Get-AzMariaDbConfiguration -ServerName mariadb-asd-01 -ResourceGroupName mariadb-test-qu5ov0 Name Type ---- ---- audit_log_enabled Microsoft.DBforMariaDB/servers/configurations audit_log_events Microsoft.DBforMariaDB/servers/configurations audit_log_exclude_users Microsoft.DBforMariaDB/servers/configurations audit_log_include_users Microsoft.DBforMariaDB/servers/configurations binlog_row_image Microsoft.DBforMariaDB/servers/configurations character_set_server Microsoft.DBforMariaDB/servers/configurations collation_server Microsoft.DBforMariaDB/servers/configurations default_regex_flags Microsoft.DBforMariaDB/servers/configurations default_week_format Microsoft.DBforMariaDB/servers/configurations delayed_insert_limit Microsoft.DBforMariaDB/servers/configurations delayed_insert_timeout Microsoft.DBforMariaDB/servers/configurations delayed_queue_size Microsoft.DBforMariaDB/servers/configurations div_precision_increment Microsoft.DBforMariaDB/servers/configurations event_scheduler Microsoft.DBforMariaDB/servers/configurations expensive_subquery_limit Microsoft.DBforMariaDB/servers/configurations explicit_defaults_for_timestamp Microsoft.DBforMariaDB/servers/configurations group_concat_max_len Microsoft.DBforMariaDB/servers/configurations histogram_size Microsoft.DBforMariaDB/servers/configurations histogram_type Microsoft.DBforMariaDB/servers/configurations host_cache_size Microsoft.DBforMariaDB/servers/configurations init_connect Microsoft.DBforMariaDB/servers/configurations innodb_adaptive_flushing Microsoft.DBforMariaDB/servers/configurations innodb_adaptive_flushing_lwm Microsoft.DBforMariaDB/servers/configurations innodb_adaptive_hash_index Microsoft.DBforMariaDB/servers/configurations innodb_adaptive_hash_index_partitions Microsoft.DBforMariaDB/servers/configurations innodb_adaptive_hash_index_parts Microsoft.DBforMariaDB/servers/configurations innodb_adaptive_max_sleep_delay Microsoft.DBforMariaDB/servers/configurations innodb_autoextend_increment Microsoft.DBforMariaDB/servers/configurations innodb_autoinc_lock_mode Microsoft.DBforMariaDB/servers/configurations innodb_buffer_pool_dump_pct Microsoft.DBforMariaDB/servers/configurations innodb_buffer_pool_size Microsoft.DBforMariaDB/servers/configurations innodb_change_buffer_max_size Microsoft.DBforMariaDB/servers/configurations innodb_change_buffering Microsoft.DBforMariaDB/servers/configurations innodb_cmp_per_index_enabled Microsoft.DBforMariaDB/servers/configurations innodb_compression_failure_threshold_pct Microsoft.DBforMariaDB/servers/configurations innodb_compression_level Microsoft.DBforMariaDB/servers/configurations innodb_compression_pad_pct_max Microsoft.DBforMariaDB/servers/configurations innodb_concurrency_tickets Microsoft.DBforMariaDB/servers/configurations innodb_deadlock_detect Microsoft.DBforMariaDB/servers/configurations innodb_default_row_format Microsoft.DBforMariaDB/servers/configurations innodb_fill_factor Microsoft.DBforMariaDB/servers/configurations innodb_flush_log_at_timeout Microsoft.DBforMariaDB/servers/configurations innodb_ft_enable_stopword Microsoft.DBforMariaDB/servers/configurations innodb_ft_num_word_optimize Microsoft.DBforMariaDB/servers/configurations innodb_ft_result_cache_limit Microsoft.DBforMariaDB/servers/configurations innodb_io_capacity Microsoft.DBforMariaDB/servers/configurations innodb_lock_wait_timeout Microsoft.DBforMariaDB/servers/configurations innodb_log_compressed_pages Microsoft.DBforMariaDB/servers/configurations innodb_lru_scan_depth Microsoft.DBforMariaDB/servers/configurations innodb_max_dirty_pages_pct Microsoft.DBforMariaDB/servers/configurations innodb_max_dirty_pages_pct_lwm Microsoft.DBforMariaDB/servers/configurations innodb_max_purge_lag Microsoft.DBforMariaDB/servers/configurations innodb_max_purge_lag_delay Microsoft.DBforMariaDB/servers/configurations innodb_max_undo_log_size Microsoft.DBforMariaDB/servers/configurations innodb_old_blocks_pct Microsoft.DBforMariaDB/servers/configurations innodb_old_blocks_time Microsoft.DBforMariaDB/servers/configurations innodb_online_alter_log_max_size Microsoft.DBforMariaDB/servers/configurations innodb_open_files Microsoft.DBforMariaDB/servers/configurations innodb_optimize_fulltext_only Microsoft.DBforMariaDB/servers/configurations innodb_page_cleaners Microsoft.DBforMariaDB/servers/configurations innodb_purge_batch_size Microsoft.DBforMariaDB/servers/configurations innodb_purge_rseg_truncate_frequency Microsoft.DBforMariaDB/servers/configurations innodb_random_read_ahead Microsoft.DBforMariaDB/servers/configurations innodb_read_ahead_threshold Microsoft.DBforMariaDB/servers/configurations innodb_read_io_threads Microsoft.DBforMariaDB/servers/configurations innodb_stats_auto_recalc Microsoft.DBforMariaDB/servers/configurations innodb_stats_include_delete_marked Microsoft.DBforMariaDB/servers/configurations innodb_stats_method Microsoft.DBforMariaDB/servers/configurations innodb_stats_modified_counter Microsoft.DBforMariaDB/servers/configurations innodb_stats_on_metadata Microsoft.DBforMariaDB/servers/configurations innodb_stats_persistent Microsoft.DBforMariaDB/servers/configurations innodb_stats_persistent_sample_pages Microsoft.DBforMariaDB/servers/configurations innodb_stats_traditional Microsoft.DBforMariaDB/servers/configurations innodb_stats_transient_sample_pages Microsoft.DBforMariaDB/servers/configurations innodb_status_output Microsoft.DBforMariaDB/servers/configurations innodb_status_output_locks Microsoft.DBforMariaDB/servers/configurations innodb_strict_mode Microsoft.DBforMariaDB/servers/configurations innodb_sync_array_size Microsoft.DBforMariaDB/servers/configurations innodb_table_locks Microsoft.DBforMariaDB/servers/configurations innodb_thread_concurrency Microsoft.DBforMariaDB/servers/configurations innodb_thread_sleep_delay Microsoft.DBforMariaDB/servers/configurations innodb_undo_log_truncate Microsoft.DBforMariaDB/servers/configurations innodb_write_io_threads Microsoft.DBforMariaDB/servers/configurations interactive_timeout Microsoft.DBforMariaDB/servers/configurations join_buffer_size Microsoft.DBforMariaDB/servers/configurations join_cache_level Microsoft.DBforMariaDB/servers/configurations lock_wait_timeout Microsoft.DBforMariaDB/servers/configurations log_bin_trust_function_creators Microsoft.DBforMariaDB/servers/configurations log_output Microsoft.DBforMariaDB/servers/configurations log_queries_not_using_indexes Microsoft.DBforMariaDB/servers/configurations log_slow_admin_statements Microsoft.DBforMariaDB/servers/configurations log_slow_filter Microsoft.DBforMariaDB/servers/configurations log_slow_rate_limit Microsoft.DBforMariaDB/servers/configurations log_slow_verbosity Microsoft.DBforMariaDB/servers/configurations long_query_time Microsoft.DBforMariaDB/servers/configurations low_priority_updates Microsoft.DBforMariaDB/servers/configurations lower_case_table_names Microsoft.DBforMariaDB/servers/configurations max_allowed_packet Microsoft.DBforMariaDB/servers/configurations max_connect_errors Microsoft.DBforMariaDB/servers/configurations max_connections Microsoft.DBforMariaDB/servers/configurations max_delayed_threads Microsoft.DBforMariaDB/servers/configurations max_digest_length Microsoft.DBforMariaDB/servers/configurations max_error_count Microsoft.DBforMariaDB/servers/configurations max_heap_table_size Microsoft.DBforMariaDB/servers/configurations max_join_size Microsoft.DBforMariaDB/servers/configurations max_length_for_sort_data Microsoft.DBforMariaDB/servers/configurations max_prepared_stmt_count Microsoft.DBforMariaDB/servers/configurations max_recursive_iterations Microsoft.DBforMariaDB/servers/configurations max_seeks_for_key Microsoft.DBforMariaDB/servers/configurations max_session_mem_used Microsoft.DBforMariaDB/servers/configurations max_sort_length Microsoft.DBforMariaDB/servers/configurations max_sp_recursion_depth Microsoft.DBforMariaDB/servers/configurations max_user_connections Microsoft.DBforMariaDB/servers/configurations max_write_lock_count Microsoft.DBforMariaDB/servers/configurations min_examined_row_limit Microsoft.DBforMariaDB/servers/configurations net_read_timeout Microsoft.DBforMariaDB/servers/configurations net_retry_count Microsoft.DBforMariaDB/servers/configurations net_write_timeout Microsoft.DBforMariaDB/servers/configurations optimizer_search_depth Microsoft.DBforMariaDB/servers/configurations optimizer_selectivity_sampling_limit Microsoft.DBforMariaDB/servers/configurations optimizer_use_condition_selectivity Microsoft.DBforMariaDB/servers/configurations preload_buffer_size Microsoft.DBforMariaDB/servers/configurations query_store_capture_interval Microsoft.DBforMariaDB/servers/configurations query_store_capture_mode Microsoft.DBforMariaDB/servers/configurations query_store_capture_utility_queries Microsoft.DBforMariaDB/servers/configurations query_store_retention_period_in_days Microsoft.DBforMariaDB/servers/configurations query_store_wait_sampling_capture_mode Microsoft.DBforMariaDB/servers/configurations query_store_wait_sampling_frequency Microsoft.DBforMariaDB/servers/configurations read_only Microsoft.DBforMariaDB/servers/configurations server_id Microsoft.DBforMariaDB/servers/configurations session_track_schema Microsoft.DBforMariaDB/servers/configurations session_track_state_change Microsoft.DBforMariaDB/servers/configurations session_track_transaction_info Microsoft.DBforMariaDB/servers/configurations skip_show_database Microsoft.DBforMariaDB/servers/configurations slave_parallel_threads Microsoft.DBforMariaDB/servers/configurations slow_query_log Microsoft.DBforMariaDB/servers/configurations sort_buffer_size Microsoft.DBforMariaDB/servers/configurations sql_mode Microsoft.DBforMariaDB/servers/configurations standard_compliant_cte Microsoft.DBforMariaDB/servers/configurations stored_program_cache Microsoft.DBforMariaDB/servers/configurations sync_master_info Microsoft.DBforMariaDB/servers/configurations sync_relay_log_info Microsoft.DBforMariaDB/servers/configurations table_definition_cache Microsoft.DBforMariaDB/servers/configurations table_open_cache Microsoft.DBforMariaDB/servers/configurations thread_pool_max_threads Microsoft.DBforMariaDB/servers/configurations thread_pool_min_threads Microsoft.DBforMariaDB/servers/configurations thread_pool_prio_kickup_timer Microsoft.DBforMariaDB/servers/configurations thread_pool_priority Microsoft.DBforMariaDB/servers/configurations thread_pool_stall_limit Microsoft.DBforMariaDB/servers/configurations time_zone Microsoft.DBforMariaDB/servers/configurations tx_isolation Microsoft.DBforMariaDB/servers/configurations updatable_views_with_limit Microsoft.DBforMariaDB/servers/configurations use_stat_tables Microsoft.DBforMariaDB/servers/configurations userstat Microsoft.DBforMariaDB/servers/configurations wait_timeout Microsoft.DBforMariaDB/servers/configurations .Example PS C:\> Get-AzMariaDbConfiguration -ServerName mariadb-asd-01 -ResourceGroupName mariadb-test-qu5ov0 -Name max_connections Name Type ---- ---- max_connections Microsoft.DBforMariaDB/servers/configurations .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/get-azmariadbconfiguration #> function Get-AzMariaDbConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IConfiguration])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Alias('ConfigurationName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server configuration. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.MariaDb.private\Get-AzMariaDbConfiguration_Get'; GetViaIdentity = 'Az.MariaDb.private\Get-AzMariaDbConfiguration_GetViaIdentity'; List = 'Az.MariaDb.private\Get-AzMariaDbConfiguration_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Gets information about a server firewall rule. .Description Gets information about a server firewall rule. .Example PS C:\> Get-AzMariaDbFirewallRule -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-test-4rmtig Name Type ---- ---- fr-cfgl3y Microsoft.DBforMariaDB/servers/firewallRules fr-usc9na Microsoft.DBforMariaDB/servers/firewallRules frname-001 Microsoft.DBforMariaDB/servers/firewallRules .Example PS C:\> Get-AzMariaDbFirewallRule -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-test-4rmtig -Name frname-001 Name Type ---- ---- frname-001 Microsoft.DBforMariaDB/servers/firewallRules .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/get-azmariadbfirewallrule #> function Get-AzMariaDbFirewallRule { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IFirewallRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Alias('FirewallRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server firewall rule. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.MariaDb.private\Get-AzMariaDbFirewallRule_Get'; GetViaIdentity = 'Az.MariaDb.private\Get-AzMariaDbFirewallRule_GetViaIdentity'; List = 'Az.MariaDb.private\Get-AzMariaDbFirewallRule_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis List all the replicas for a given server. .Description List all the replicas for a given server. .Example PS C:\> Get-AzMariaDbReplica -ServerName mariadb-test-szp6dt -ResourceGroupName mariadb-test-qu5ov0 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-szp6dt-rep428 eastus zmoxhpgjqc 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled mariadb-test-szp6dt-rep154 eastus zcsxhpasdc 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/get-azmariadbreplica #> function Get-AzMariaDbReplica { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.MariaDb.private\Get-AzMariaDbReplica_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Gets information about a server. .Description Gets information about a server. .Example PS C:\> Get-AzMariaDbServer Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mrdb01 eastus dolauli 10.2 5120 B_Gen5_1 Basic Enabled wyunchi-10 eastus wyunchi 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled wyunchi eastus wyunchi 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled wyunchi-eastus eastus wyunchi 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled mariadb-test-h3pame eastus qiszomtkpf 10.2 5120 B_Gen5_1 Basic Enabled mariadb-test-4rmtig eastus xofavpndqj 10.2 5120 B_Gen5_1 Basic Enabled mariadb-test-szp6dt eastus zmoxhpgjqc 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled mariadb-test-9pebvn eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled mariadb-test-szp6dt-rep428 eastus zmoxhpgjqc 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled mariadb-asd-01 eastus adminuser 10.2 5120 B_Gen5_1 Basic Enabled rst-001 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled rst-002 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled rstrgp02-rep-003 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled rstrgp02-rep-004 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled .Example PS C:\> Get-AzMariaDbServer -ResourceGroupName mariadb-test-qu5ov0 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-h3pame eastus qiszomtkpf 10.2 5120 B_Gen5_1 Basic Enabled mariadb-test-4rmtig eastus xofavpndqj 10.2 5120 B_Gen5_1 Basic Enabled mariadb-test-szp6dt eastus zmoxhpgjqc 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled mariadb-test-9pebvn eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled mariadb-test-szp6dt-rep428 eastus zmoxhpgjqc 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled mariadb-asd-01 eastus adminuser 10.2 5120 B_Gen5_1 Basic Enabled rst-001 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled rst-002 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled rstrgp02-rep-003 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled rstrgp02-rep-004 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled .Example PS C:\> Get-AzMariaDbServer -ResourceGroupName mariadb-test-qu5ov0 -Name mariadb-test-h3pame Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-h3pame eastus qiszomtkpf 10.2 5120 B_Gen5_1 Basic Enabled .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/get-azmariadbserver #> function Get-AzMariaDbServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])] [CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.MariaDb.private\Get-AzMariaDbServer_Get'; GetViaIdentity = 'Az.MariaDb.private\Get-AzMariaDbServer_GetViaIdentity'; List = 'Az.MariaDb.private\Get-AzMariaDbServer_List'; List1 = 'Az.MariaDb.private\Get-AzMariaDbServer_List1'; } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Gets a virtual network rule. .Description Gets a virtual network rule. .Example PS C:\> Get-AzMariaDbVirtualNetworkRule -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-test-9pebvn Name Type ---- ---- vnetrule-QdMJpU Microsoft.DBforMariaDB/servers/virtualNetworkRules vnetrule-Adsefc Microsoft.DBforMariaDB/servers/virtualNetworkRules .Example PS C:\> Get-AzMariaDbVirtualNetworkRule -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-test-9pebvn -Name vnetrule-QdMJpU Name Type ---- ---- vnetrule-QdMJpU Microsoft.DBforMariaDB/servers/virtualNetworkRules .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/get-azmariadbvirtualnetworkrule #> function Get-AzMariaDbVirtualNetworkRule { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IVirtualNetworkRule])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Alias('VirtualNetworkRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the virtual network rule. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.MariaDb.private\Get-AzMariaDbVirtualNetworkRule_Get'; GetViaIdentity = 'Az.MariaDb.private\Get-AzMariaDbVirtualNetworkRule_GetViaIdentity'; List = 'Az.MariaDb.private\Get-AzMariaDbVirtualNetworkRule_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates a new firewall rule or updates an existing firewall rule. .Description Creates a new firewall rule or updates an existing firewall rule. .Example PS C:\> New-AzMariaDbFirewallRule -Name firewall-101 -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-asd-01 -EndIPAddress 0.0.2.255 -StartIPAddress 0.0.2.1 Name Type ---- ---- firewall-101 Microsoft.DBforMariaDB/servers/firewallRules .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/new-azmariadbfirewallrule #> function New-AzMariaDbFirewallRule { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IFirewallRule])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Alias('FirewallRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server firewall rule. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The end IP address of the server firewall rule. # Must be IPv4 format. ${EndIPAddress}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The start IP address of the server firewall rule. # Must be IPv4 format. ${StartIPAddress}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.MariaDb.private\New-AzMariaDbFirewallRule_CreateExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates or updates an existing virtual network rule. .Description Creates or updates an existing virtual network rule. .Example PS C:\> $vnet = Get-AzVirtualNetwork -Name vnet -ResourceGroupName mariadb-test-qu5ov0 PS C:\> New-AzMariaDbVirtualNetworkRule -ServerName mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 -Name vnet-001 -SubnetId $vnet.Subnets[0].Id -IgnoreMissingVnetServiceEndpoint Name Type ---- ---- vnet-001 Microsoft.DBforMariaDB/servers/virtualNetworkRules .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/new-azmariadbvirtualnetworkrule #> function New-AzMariaDbVirtualNetworkRule { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IVirtualNetworkRule])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Alias('VirtualNetworkRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the virtual network rule. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Management.Automation.SwitchParameter] # Create firewall rule before the virtual network has vnet service endpoint enabled. ${IgnoreMissingVnetServiceEndpoint}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The ARM resource id of the virtual network subnet. ${SubnetId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ CreateExpanded = 'Az.MariaDb.private\New-AzMariaDbVirtualNetworkRule_CreateExpanded'; } if (('CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Deletes a server firewall rule. .Description Deletes a server firewall rule. .Example PS C:\> Remove-AzMariaDbFirewallRule -Name frname-001 -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-test-4rmtig .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/remove-azmariadbfirewallrule #> function Remove-AzMariaDbFirewallRule { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Alias('FirewallRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server firewall rule. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.MariaDb.private\Remove-AzMariaDbFirewallRule_Delete'; DeleteViaIdentity = 'Az.MariaDb.private\Remove-AzMariaDbFirewallRule_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Deletes a server. .Description Deletes a server. .Example PS C:\> Remove-AzMariaDbServer -Name mariadb-asd-01 -ResourceGroupName mariadb-test-qu5ov0 .Example PS C:\> Get-AzMariaDbServer -Name mariadb-bc-t01 -ResourceGroupName mariadb-test-qu5ov0 | Remove-AzMariaDbServer .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/remove-azmariadbserver #> function Remove-AzMariaDbServer { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.MariaDb.private\Remove-AzMariaDbServer_Delete'; DeleteViaIdentity = 'Az.MariaDb.private\Remove-AzMariaDbServer_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Deletes the virtual network rule with the given name. .Description Deletes the virtual network rule with the given name. .Example PS C:\> Remove-AzMariaDbVirtualNetworkRule -Name vnet-001 -ResourceGroupName mariadb-test-qu5ov0 -ServerName mariadb-test-9pebvn .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/remove-azmariadbvirtualnetworkrule #> function Remove-AzMariaDbVirtualNetworkRule { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Alias('VirtualNetworkRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the virtual network rule. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.MariaDb.private\Remove-AzMariaDbVirtualNetworkRule_Delete'; DeleteViaIdentity = 'Az.MariaDb.private\Remove-AzMariaDbVirtualNetworkRule_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Updates a configuration of a server. .Description Updates a configuration of a server. .Example PS C:\> Update-AzMariaDbConfiguration -Name delayed_insert_timeout -Value 200 -ServerName mariadb-test-h3pame -ResourceGroupName mariadb-test-qu5ov0 Name Type ---- ---- delayed_insert_timeout Microsoft.DBforMariaDB/servers/configurations .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/update-azmariadbconfiguration #> function Update-AzMariaDbConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IConfiguration])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Alias('ConfigurationName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server configuration. ${Name}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # Source of the configuration. ${Source}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # Value of the configuration. ${Value}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.MariaDb.private\Update-AzMariaDbConfiguration_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.MariaDb.private\Update-AzMariaDbConfiguration_UpdateViaIdentityExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates a new firewall rule or updates an existing firewall rule. .Description Creates a new firewall rule or updates an existing firewall rule. .Example PS C:\> Update-AzMariaDbFirewallRule -Name fr-cfgl3y -ServerName mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 -StartIPAddress 0.0.3.1 -EndIPAddress 0.0.3.255 Name Type ---- ---- fr-cfgl3y Microsoft.DBforMariaDB/servers/firewallRules .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/update-azmariadbfirewallrule #> function Update-AzMariaDbFirewallRule { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IFirewallRule])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Alias('FirewallRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server firewall rule. ${Name}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The end IP address of the server firewall rule. # Must be IPv4 format. ${EndIPAddress}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The start IP address of the server firewall rule. # Must be IPv4 format. ${StartIPAddress}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.MariaDb.private\Update-AzMariaDbFirewallRule_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.MariaDb.private\Update-AzMariaDbFirewallRule_UpdateViaIdentityExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Creates or updates an existing virtual network rule. .Description Creates or updates an existing virtual network rule. .Example PS C:\> $vnet = Get-AzVirtualNetwork -Name vnet -ResourceGroupName mariadb-test-qu5ov0 PS C:\> Update-AzMariaDbVirtualNetworkRule -ServerName mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 -Name vnetrule-QdMJpU -SubnetId $vnet.Subnets[0].Id -IgnoreMissingVnetServiceEndpoint Name Type ---- ---- vnetrule-QdMJpU Microsoft.DBforMariaDB/servers/virtualNetworkRules .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/update-azmariadbvirtualnetworkrule #> function Update-AzMariaDbVirtualNetworkRule { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IVirtualNetworkRule])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Alias('VirtualNetworkRuleName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the virtual network rule. ${Name}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${ServerName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID that identifies an Azure subscription. ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Management.Automation.SwitchParameter] # Create firewall rule before the virtual network has vnet service endpoint enabled. ${IgnoreMissingVnetServiceEndpoint}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The ARM resource id of the virtual network subnet. ${SubnetId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ UpdateExpanded = 'Az.MariaDb.private\Update-AzMariaDbVirtualNetworkRule_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.MariaDb.private\Update-AzMariaDbVirtualNetworkRule_UpdateViaIdentityExpanded'; } if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis .Description .Example PS C:\> Get-AzMariaDbConnectionString -ServerName mariadb-asd-01 -ResourceGroupName mariadb-test-qu5ov0 -Client ADO.NET Server=mariadb-asd-01.mariadb.database.azure.com; Port=3306; Database={your_database}; Uid=adminuser@mariadb-asd-01; Pwd={your_password}; SslMode=Preferred; .Example PS C:\> Get-AzMariaDbServer -Name mariadb-gp-t03 -ResourceGroupName lucas-manual-test | Get-AzMariaDbConnectionString -Client PHP $con=mysqli_init();mysqli_ssl_set($con, NULL, NULL, {ca-cert filename}, NULL, NULL); mysqli_real_connect($con, "mariadb-gp-t03.mariadb.database.azure.com", "adminuser@mariadb-gp-t03", {your_password}, {your_database}, 3306); .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/get-azmariadbconnectionstring #> function Get-AzMariaDbConnectionString { [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # Connect client type ${Client}, [Parameter(ParameterSetName='ServerName', Mandatory)] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the server. ${Name}, [Parameter(ParameterSetName='ServerName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. ${ResourceGroupName}, [Parameter(ParameterSetName='ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID is part of the URI for every service call ${SubscriptionId}, [Parameter(ParameterSetName='ServerObject', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ ServerName = 'Az.MariaDb.custom\Get-AzMariaDbConnectionString'; ServerObject = 'Az.MariaDb.custom\Get-AzMariaDbConnectionString'; } if (('ServerName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis .Description .Example PS C:\> New-AzMariaDbServer -Name mariadb-aassd-01 -ResourceGroupName lucas-manual-test -Sku 'B_Gen5_1' -Location eastus cmdlet New-AzMariaDbServer at command pipeline position 1 Supply values for the following parameters: AdministratorUsername: adminuser AdministratorLoginPassword: ************ Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-aassd-01 eastus adminuser 10.2 5120 B_Gen5_1 Basic Enabled .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/new-azmariadbserver #> function New-AzMariaDbServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # MariaDb server name. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID is part of the URI for every service call ${SubscriptionId}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The location the resource resides in. ${Location}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The name of the sku, typically, tier + family + cores, e.g. # B_Gen4_1, GP_Gen5_8. ${Sku}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # Username of administrator. ${AdministratorUsername}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Security.SecureString] # Password of administrator, should be SecureString. ${AdministratorLoginPassword}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.SslEnforcementEnum] # Enable ssl enforcement or not when connect to server. ${SslEnforcement}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Int32] # Backup retention days for the server. ${BackupRetentionDay}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.GeoRedundantBackup] # Enable Geo-redundant or not for server backup. ${GeoRedundantBackup}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.StorageAutogrow] # Enable Storage Auto Grow. ${StorageAutogrow}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Int32] # Max storage allowed for a server. ${StorageInMb}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerUpdateParametersTags]))] [System.Collections.Hashtable] # Application-specific metadata in the form of key-value pairs. ${Tag}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.ServerVersion] # Server version. ${Version}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ __AllParameterSets = 'Az.MariaDb.custom\New-AzMariaDbServer'; } if (('__AllParameterSets') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis .Description .Example PS C:\> New-AzMariaDbServerReplica -ServerName mariadb-test-9pebvn -Name mariadb-test-9pebvn-rep01 -ResourceGroupName mariadb-test-qu5ov0 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-9pebvn-rep01 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled .Example PS C:\> Get-AzMariaDbServer -Name mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 | New-AzMariaDbServerReplica -Name mariadb-test-9pebvn-rep02 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-9pebvn-rep02 eastus xpwjyfdgui 10.2 7168 GP_Gen5_4 GeneralPurpose Enabled .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/new-azmariadbserverreplica #> function New-AzMariaDbServerReplica { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])] [CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Alias('ReplicaServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # Replica name. ${Name}, [Parameter(ParameterSetName='ServerName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # MariaDb server name. ${ServerName}, [Parameter(ParameterSetName='ServerName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # You can obtain this value from the Azure Resource Manager API or the portal. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID is part of the URI for every service call. ${SubscriptionId}, [Parameter(ParameterSetName='ServerObject', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer] # The source server object to restore from. # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The location the resource resides in. ${Location}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The name of the sku, typically, tier + family + cores, e.g. # B_Gen4_1, GP_Gen5_8. ${Sku}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerUpdateParametersTags]))] [System.Collections.Hashtable] # Application-specific metadata in the form of key-value pairs. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ ServerName = 'Az.MariaDb.custom\New-AzMariaDbServerReplica'; ServerObject = 'Az.MariaDb.custom\New-AzMariaDbServerReplica'; } if (('ServerName', 'ServerObject') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis .Description .Example PS C:\> Restart-AzMariaDbServer -Name mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 .Example PS C:\> Get-AzMariaDbServer -Name mariadb-test-9pebvn -ResourceGroupName mariadb-test-qu5ov0 | Restart-AzMariaDbServer .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/restart-azmariadbserver #> function Restart-AzMariaDbServer { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='ServerName', Mandatory)] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] ${Name}, [Parameter(ParameterSetName='ServerName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] ${ResourceGroupName}, [Parameter(ParameterSetName='ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] ${SubscriptionId}, [Parameter(ParameterSetName='ServerObject', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ ServerName = 'Az.MariaDb.custom\Restart-AzMariaDbServer'; ServerObject = 'Az.MariaDb.custom\Restart-AzMariaDbServer'; } if (('ServerName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis .Description .Example PS C:\> Restore-AzMariaDbServer -Name restore-db01 -ServerName mariadb-test-usegeo -ResourceGroupName mariadb-test-4rih5z -UsePointInTimeRestore -RestorePointInTime $(Get-Date) -Location eastus Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- restore-db01 eastus adminuser 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled .Example PS C:\> $db = Get-AzMariaDbServer -Name mariadb-test-usegeo -ResourceGroupName mariadb-test-4rih5z PS C:\>Restore-AzMariaDbServer -Name restore-db02 -InputObject $db -UsePointInTimeRestore -RestorePointInTime $(Get-Date) -Location eastus Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- restore-db02 eastus adminuser 10.2 5120 GP_Gen5_4 GeneralPurpose Enabled .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/restore-azmariadbserver #> function Restore-AzMariaDbServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])] [CmdletBinding(DefaultParameterSetName='PointInTimeRestore', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] ${Name}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] ${ServerName}, [Parameter(ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer] # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] ${SubscriptionId}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.DateTime] ${RestorePointInTime}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The location the resource resides in. ${Location}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerUpdateParametersTags]))] [System.Collections.Hashtable] ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ PointInTimeRestore = 'Az.MariaDb.custom\Restore-AzMariaDbServer'; } if (('PointInTimeRestore') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis .Description .Example PS C:\> Update-AzMariaDbServer -Name mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 -StorageInMb 8192 Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-4rmtig eastus xofavpndqj 10.2 8192 B_Gen5_1 Basic Enabled .Example PS C:\> Get-AzMariaDbServer -Name mariadb-test-4rmtig -ResourceGroupName mariadb-test-qu5ov0 | Update-AzMariaDbServer -StorageInMb (8192+1024) Name Location AdministratorLogin Version StorageProfileStorageMb SkuName SkuSize SkuTier SslEnforcement ---- -------- ------------------ ------- ----------------------- ------- ------- ------- -------------- mariadb-test-4rmtig eastus xofavpndqj 10.2 9216 B_Gen5_1 Basic Enabled .Link https://docs.microsoft.com/en-us/powershell/module/az.mariadb/update-azmariadbserver #> function Update-AzMariaDbServer { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServer])] [CmdletBinding(DefaultParameterSetName='ServerName', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='ServerName', Mandatory)] [Alias('ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # MariaDb server name ${Name}, [Parameter(ParameterSetName='ServerName', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [System.String] # The name of the resource group that contains the resource. ${ResourceGroupName}, [Parameter(ParameterSetName='ServerName')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # The subscription ID is part of the URI for every service call ${SubscriptionId}, [Parameter(ParameterSetName='ServerObject', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.IMariaDbIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The replication role of the server. ${ReplicationRole}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Security.SecureString] # The password of the administrator login. ${AdministratorLoginPassword}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.SslEnforcementEnum] # Enable ssl enforcement or not when connect to server. ${SslEnforcement}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Int32] # Backup retention days for the server. ${BackupRetentionDay}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.GeoRedundantBackup] # Enable Geo-redundant or not for server backup. ${GeoRedundantBackup}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Support.StorageAutogrow] # Enable Storage Auto Grow. ${StorageAutogrow}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.Int32] # Max storage allowed for a server. ${StorageInMb}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [System.String] # The name of the sku, typically, tier + family + cores, e.g. # B_Gen4_1, GP_Gen5_8. ${Sku}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IServerUpdateParametersTags]))] [System.Collections.Hashtable] # Application-specific metadata in the form of key-value pairs. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Azure')] [System.Management.Automation.PSObject] ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.SendAsyncStep[]] ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Uri] ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Category('Runtime')] [System.Management.Automation.SwitchParameter] ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ ServerName = 'Az.MariaDb.custom\Update-AzMariaDbServer'; ServerObject = 'Az.MariaDb.custom\Update-AzMariaDbServer'; } if (('ServerName') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIjhgYJKoZIhvcNAQcCoIIjdzCCI3MCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAbPy0dO0y+/vd0 # XIzR1WSBnpuZNN9upznHu4wCv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